Skip to content

Commit b7ef2a2

Browse files
Ami-zhanggithub-actions[bot]
authored andcommitted
Automerge: [NFC] Precommit test for issue #149512 (#153541)
2 parents 252f66d + 793a6b4 commit b7ef2a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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"{{.*}} }

0 commit comments

Comments
 (0)