diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2017-01-11 19:55:19 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2017-01-11 19:55:19 +0000 |
commit | 0aa7497cd795d378fd564302efbdf3cbf13684b3 (patch) | |
tree | 77ab7ce9f94e3f7c55b226e3618c037ebe1d4074 /test/CodeGen/Mips/brconeq.ll | |
parent | ae69f7de681e29e447a90f028e1e2b2d3e976689 (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/brconeq.ll')
-rw-r--r-- | test/CodeGen/Mips/brconeq.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Mips/brconeq.ll b/test/CodeGen/Mips/brconeq.ll index 40c281e758a..7c3c31e0ec3 100644 --- a/test/CodeGen/Mips/brconeq.ll +++ b/test/CodeGen/Mips/brconeq.ll @@ -8,11 +8,11 @@ define void @test() nounwind { entry: %0 = load i32, i32* @i, align 4 %1 = load i32, i32* @j, align 4 - %cmp = icmp ne i32 %0, %1 + %cmp = icmp eq i32 %0, %1 ; 16: cmp ${{[0-9]+}}, ${{[0-9]+}} ; 16: bteqz $[[LABEL:[0-9A-Ba-b_]+]] ; 16: $[[LABEL]]: - br i1 %cmp, label %if.then, label %if.end + br i1 %cmp, label %if.end, label %if.then if.then: ; preds = %entry store i32 1, i32* @result, align 4 |