diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2017-01-10 23:04:30 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2017-01-10 23:04:30 +0000 |
commit | df27aa8c89ce96f7b01a0919697b0ea1505c01f3 (patch) | |
tree | 151faba3e276de822dbdf68c5e5b8e145afe2ed6 /llvm/test/CodeGen/AArch64/compare-branch.ll | |
parent | 623270694bbdfb598d4063d0f8237c0c5d4f37ef (diff) | |
download | bcm5719-llvm-df27aa8c89ce96f7b01a0919697b0ea1505c01f3.tar.gz bcm5719-llvm-df27aa8c89ce96f7b01a0919697b0ea1505c01f3.zip |
CodeGen: Allow small copyable blocks to "break" the CFG.
When choosing the best successor for a block, ordinarily we would have preferred
a block that preserves the CFG unless there is a strong probability the other
direction. For small blocks that can be duplicated we now skip that requirement
as well.
Differential revision: https://reviews.llvm.org/D27742
llvm-svn: 291609
Diffstat (limited to 'llvm/test/CodeGen/AArch64/compare-branch.ll')
-rw-r--r-- | llvm/test/CodeGen/AArch64/compare-branch.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/compare-branch.ll b/llvm/test/CodeGen/AArch64/compare-branch.ll index 50631445122..adbad58b7db 100644 --- a/llvm/test/CodeGen/AArch64/compare-branch.ll +++ b/llvm/test/CodeGen/AArch64/compare-branch.ll @@ -27,7 +27,7 @@ test4: %val4 = load volatile i64, i64* @var64 %tst4 = icmp ne i64 %val4, 0 br i1 %tst4, label %end, label %test5, !prof !1 -; CHECK: cbnz {{x[0-9]+}}, .LBB +; CHECK: cbz {{x[0-9]+}}, .LBB test5: store volatile i64 %val4, i64* @var64 |