summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-no-movt.c
blob: 0773941fb384bb30d5facc98d6c7e80a02deaa4a (plain)
1
2
3
4
5
6
7
// 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

// NO-MOVT: attributes #0 = { {{.*}} "target-features"="+no-movt"
// MOVT-NOT: attributes #0 = { {{.*}} "target-features"="+no-movt"

int foo1(int a) { return a; }
OpenPOWER on IntegriCloud