summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-05-10 19:17:47 +0000
committerTim Northover <tnorthover@apple.com>2016-05-10 19:17:47 +0000
commit8189e3d88741d7f4c64a21f1ce3fcd9bebaf17b1 (patch)
tree8123188694480fe2015614d59623a1c83236390d /test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll
parent2147c01e5a128a4d4a5137a256b5632ad7481004 (diff)
ARM: stop emitting blx instructions for most calls on MachO.
I'm really not sure why we were in the first place, it's the linker's job to convert between BL/BLX as necessary. Even worse, using BLX left Thumb calls that could be locally resolved completely unencodable since all offsets to BLX are multiples of 4. rdar://26182344 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll')
-rw-r--r--test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll b/test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll
index 864e2917b7b..852038147b2 100644
--- a/test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll
+++ b/test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll
@@ -3,7 +3,7 @@
; CHECK: _f
; CHECK: adds
; CHECK-NOT: cmp
-; CHECK: blxeq _h
+; CHECK: bleq _h
define i32 @f(i32 %a, i32 %b) nounwind ssp {
entry:
@@ -22,7 +22,7 @@ if.end: ; preds = %if.then, %entry
; CHECK: _g
; CHECK: orrs
; CHECK-NOT: cmp
-; CHECK: blxeq _h
+; CHECK: bleq _h
define i32 @g(i32 %a, i32 %b) nounwind ssp {
entry: