diff options
| author | Heejin Ahn <aheejin@gmail.com> | 2019-03-05 20:35:34 +0000 |
|---|---|---|
| committer | Heejin Ahn <aheejin@gmail.com> | 2019-03-05 20:35:34 +0000 |
| commit | ef9d6aea458d44a1cb446c96ef5093b11735657b (patch) | |
| tree | 727159d33fef13a5c704cfc27315f63b013f4e3a /llvm/test/CodeGen/WebAssembly/phi.ll | |
| parent | c38831e11dc33d2a8325ee6ada9827cff0396945 (diff) | |
| download | bcm5719-llvm-ef9d6aea458d44a1cb446c96ef5093b11735657b.tar.gz bcm5719-llvm-ef9d6aea458d44a1cb446c96ef5093b11735657b.zip | |
[WebAssembly] Disable MachineBlockPlacement pass
Summary:
This pass hurts code size for wasm and sometimes generates irreducible
control flow.
Context: https://github.com/emscripten-core/emscripten/pull/8233
Reviewers: kripken, dschuff
Subscribers: sunfish, sbc100, jgravelle-google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58953
llvm-svn: 355437
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/phi.ll')
| -rw-r--r-- | llvm/test/CodeGen/WebAssembly/phi.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/phi.ll b/llvm/test/CodeGen/WebAssembly/phi.ll index 7e47f5a1c67..2ca583eb628 100644 --- a/llvm/test/CodeGen/WebAssembly/phi.ll +++ b/llvm/test/CodeGen/WebAssembly/phi.ll @@ -8,9 +8,8 @@ target triple = "wasm32-unknown-unknown" ; Basic phi triangle. ; CHECK-LABEL: test0: -; CHECK: return $0 -; CHECK: div_s $push[[NUM0:[0-9]+]]=, $0, $pop[[NUM1:[0-9]+]]{{$}} -; CHECK: return $pop[[NUM0]]{{$}} +; CHECK: div_s $[[NUM0:[0-9]+]]=, $0, $pop[[NUM1:[0-9]+]]{{$}} +; CHECK: return $[[NUM0]]{{$}} define i32 @test0(i32 %p) { entry: %t = icmp slt i32 %p, 0 |

