| 1 |
// RUN: %clang_cc1 -triple loongarch64 -target-feature -lsx -emit-llvm %s -o - | FileCheck %s |
| 2 |
|
| 3 |
__attribute__((target("lasx"))) |
| 4 |
// CHECK: #[[ATTR0:[0-9]+]] { |
| 5 |
void testlasx() {} |
| 6 |
|
| 7 |
// CHECK: attributes #[[ATTR0]] = { {{.*}}"target-features"="+64bit,+lasx,+lsx"{{.*}} } |