Skip to content

Commit 468cc0f

Browse files
author
git apple-llvm automerger
committed
Merge commit '9bf61a610c09' from llvm.org/release/21.x into stable/21.x
2 parents a9ef90c + 9bf61a6 commit 468cc0f

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)