Skip to content

Commit 793a6b4

Browse files
authored
[NFC] Precommit test for issue #149512 (#153541)
1 parent 9465916 commit 793a6b4

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)