xref: /aosp_15_r20/external/clang/test/CodeGen/arm-no-movt.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -triple thumbv7-apple-ios5  -target-feature +no-movt -emit-llvm -o - %s | FileCheck -check-prefix=NO-MOVT %s
2 // RUN: %clang_cc1 -triple thumbv7-apple-ios5 -emit-llvm -o - %s | FileCheck -check-prefix=MOVT %s
3 
4 // NO-MOVT: attributes #0 = { {{.*}} "target-features"="+no-movt"
5 // MOVT-NOT: attributes #0 = { {{.*}} "target-features"="+no-movt"
6 
foo1(int a)7 int foo1(int a) { return a; }
8