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/SPARC | |
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/SPARC')
-rwxr-xr-x | test/CodeGen/SPARC/sjlj.ll | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/SPARC/sjlj.ll b/test/CodeGen/SPARC/sjlj.ll index 647d8f2fd2c..3bf583aa475 100755 --- a/test/CodeGen/SPARC/sjlj.ll +++ b/test/CodeGen/SPARC/sjlj.ll @@ -66,15 +66,14 @@ return: ; preds = %if.end, %if.then ; CHECK: ba .LBB1_1 ; CHECK: nop ; CHECK:.LBB1_1: ! %entry +; CHECK: ba .LBB1_3 ; CHECK: mov %g0, %i0 -; CHECK: cmp %i0, 0 -; CHECK: bne .LBB1_4 -; CHECK: ba .LBB1_5 ; CHECK:.LBB1_2: ! Block address taken ; CHECK: mov 1, %i0 +; CHECK:.LBB1_3: ! %entry +; CHECK: cmp %i0, 0 ; CHECK: be .LBB1_5 -; CHECK:.LBB1_4: -; CHECK: ba .LBB1_6 +; CHECK: nop } declare i8* @llvm.frameaddress(i32) #2 |