2015-07-16 08:43:00 +08:00
|
|
|
// RUN: %clang_cc1 -triple thumbv7-apple-ios5 -target-feature +no-movt -emit-llvm -o - %s | FileCheck -check-prefix=NO-MOVT %s
|
|
|
|
// RUN: %clang_cc1 -triple thumbv7-apple-ios5 -emit-llvm -o - %s | FileCheck -check-prefix=MOVT %s
|
|
|
|
|
2018-04-17 07:52:58 +08:00
|
|
|
// NO-MOVT: attributes #0 = { {{.*}} "target-features"="+armv7-a,+no-movt,+thumb-mode"
|
|
|
|
// MOVT-NOT: attributes #0 = { {{.*}} "target-features"="+armv7-a,+no-movt,+thumb-mode"
|
2015-07-16 08:43:00 +08:00
|
|
|
|
|
|
|
int foo1(int a) { return a; }
|