brintos

brintos / llvm-project-archived public Read only

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