diff options
author | Bradley Smith <bradley.smith@arm.com> | 2016-01-15 10:26:17 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2016-01-15 10:26:17 +0000 |
commit | a1189106d5a1b9e9ff57ea6fa53c24e891f1d09c (patch) | |
tree | 8b948d68b54961bb5d8084f27d023833c2dbd172 /llvm/lib/Target/ARM/ARMSubtarget.cpp | |
parent | 519563e371e6d4294b1a62ffe444bf68d6267cc8 (diff) | |
download | bcm5719-llvm-a1189106d5a1b9e9ff57ea6fa53c24e891f1d09c.tar.gz bcm5719-llvm-a1189106d5a1b9e9ff57ea6fa53c24e891f1d09c.zip |
[ARM] Add B.W and CBZ instructions to ARMv8-M Baseline
llvm-svn: 257881
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp index 2a94116a7e2..44bba0c3017 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.cpp +++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp @@ -234,7 +234,7 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) { // registers are the 4 used for parameters. We don't currently do this // case. - SupportsTailCall = !isThumb1Only(); + SupportsTailCall = !isThumb() || hasV8MBaselineOps(); if (isTargetMachO() && isTargetIOS() && getTargetTriple().isOSVersionLT(5, 0)) SupportsTailCall = false; |