summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/llvm-ir
diff options
context:
space:
mode:
authorKyle Butt <kyle+llvm@iteratee.net>2017-01-11 19:55:19 +0000
committerKyle Butt <kyle+llvm@iteratee.net>2017-01-11 19:55:19 +0000
commit0aa7497cd795d378fd564302efbdf3cbf13684b3 (patch)
tree77ab7ce9f94e3f7c55b226e3618c037ebe1d4074 /test/CodeGen/Mips/llvm-ir
parentae69f7de681e29e447a90f028e1e2b2d3e976689 (diff)
Revert "CodeGen: Allow small copyable blocks to "break" the CFG."
This reverts commit ada6595a526d71df04988eb0a4b4fe84df398ded. This needs a simple probability check because there are some cases where it is not profitable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/llvm-ir')
-rw-r--r--test/CodeGen/Mips/llvm-ir/ashr.ll14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/CodeGen/Mips/llvm-ir/ashr.ll b/test/CodeGen/Mips/llvm-ir/ashr.ll
index 5b39ba408a0..c8d0e76f94e 100644
--- a/test/CodeGen/Mips/llvm-ir/ashr.ll
+++ b/test/CodeGen/Mips/llvm-ir/ashr.ll
@@ -91,13 +91,12 @@ entry:
; M2: sllv $[[T5:[0-9]+]], $[[T4]], $[[T3]]
; M2: or $3, $[[T3]], $[[T2]]
; M2: $[[BB0]]:
- ; M2: bnez $[[T1]], $[[BB1:BB[0-9_]+]]
- ; M2: nop
- ; M2: jr $ra
+ ; M2: beqz $[[T1]], $[[BB1:BB[0-9_]+]]
; M2: nop
+ ; M2: sra $2, $4, 31
; M2: $[[BB1]]:
; M2: jr $ra
- ; M2: sra $2, $4, 31
+ ; M2: nop
; 32R1-R5: srlv $[[T0:[0-9]+]], $5, $7
; 32R1-R5: not $[[T1:[0-9]+]], $7
@@ -178,13 +177,12 @@ entry:
; M3: dsllv $[[T7:[0-9]+]], $[[T5]], $[[T6]]
; M3: or $3, $[[T7]], $[[T4]]
; M3: [[BB0]]:
- ; M3: bnez $[[T3]], [[BB1:.LBB[0-9_]+]]
- ; M3: nop
- ; M3: jr $ra
+ ; M3: beqz $[[T3]], [[BB1:.LBB[0-9_]+]]
; M3: nop
+ ; M3: dsra $2, $4, 63
; M3: [[BB1]]:
; M3: jr $ra
- ; M3: dsra $2, $4, 63
+ ; M3: nop
; GP64-NOT-R6: dsrlv $[[T0:[0-9]+]], $5, $7
; GP64-NOT-R6: dsll $[[T1:[0-9]+]], $4, 1