summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-11-11 01:34:21 +0000
committerMatthias Braun <matze@braunis.de>2016-11-11 01:34:21 +0000
commit325cd2c98ab64b8dbee7f493818ba01e0143d34b (patch)
treed9e65626f00ca77244351153fbe4b3d3a68408c8 /llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll
parenta89d8ff0adc2782c53301733e308aa5954d7eff3 (diff)
downloadbcm5719-llvm-325cd2c98ab64b8dbee7f493818ba01e0143d34b.tar.gz
bcm5719-llvm-325cd2c98ab64b8dbee7f493818ba01e0143d34b.zip
ScheduleDAGInstrs: Add condjump deps to addSchedBarrierDeps()
addSchedBarrierDeps() is supposed to add use operands to the ExitSU node. The current implementation adds uses for calls/barrier instruction and the MBB live-outs in all other cases. The use operands of conditional jump instructions were missed. Also added code to macrofusion to set the latencies between nodes to zero to avoid problems with the fusing nodes lingering around in the pending list now. Differential Revision: https://reviews.llvm.org/D25140 llvm-svn: 286544
Diffstat (limited to 'llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll')
-rw-r--r--llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll b/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll
index b38c955e1f6..ff6da8288fc 100644
--- a/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll
+++ b/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll
@@ -56,9 +56,9 @@ bb5: ; preds = %bb, %entry
define i32 @test_inlineasm(i32 %a) nounwind {
entry:
;CHECK-LABEL: test_inlineasm:
+;CHECK: cmp
;CHECK: sethi
;CHECK: !NO_APP
-;CHECK-NEXT: cmp
;CHECK-NEXT: ble
;CHECK-NEXT: mov
tail call void asm sideeffect "sethi 0, %g0", ""() nounwind
OpenPOWER on IntegriCloud