aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-02-22 07:18:37 +0000
committerAlina Sbirlea <asbirlea@google.com>2019-02-22 07:18:37 +0000
commit90d2e3a16d817e23cac97f538fceb1248e4731bd (patch)
tree8a818d64af3f93a8f69602ec617d432190a6394f /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
parentfa6187d230651cc7334d224e3e86720331be7681 (diff)
downloadllvm-90d2e3a16d817e23cac97f538fceb1248e4731bd.zip
llvm-90d2e3a16d817e23cac97f538fceb1248e4731bd.tar.gz
llvm-90d2e3a16d817e23cac97f538fceb1248e4731bd.tar.bz2
[MemorySSA & LoopPassManager] Resolve PR40038.
The correct edge being deleted is not to the unswitched exit block, but to the original block before it was split. That's the key in the map, not the value. The insert is correct. The new edge is to the .split block. The splitting turns OriginalBB into: OriginalBB -> OriginalBB.split. Assuming the orignal CFG edge: ParentBB->OriginalBB, we must now delete ParentBB->OriginalBB, not ParentBB->OriginalBB.split. llvm-svn: 354656
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions