[PATCH] D61300: [SCCP] Fix crash when trying to constant-fold terminators multiple times.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 12:30:16 PDT 2019
fhahn updated this revision to Diff 198509.
fhahn added a comment.
Use InstBB instead of I->getParent(). Thanks, I was looking at the wrong line :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61300/new/
https://reviews.llvm.org/D61300
Files:
llvm/lib/Transforms/Scalar/SCCP.cpp
llvm/test/Transforms/SCCP/switch-constantfold-crash.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61300.198509.patch
Type: text/x-patch
Size: 3777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190507/c9a125e0/attachment.bin>
More information about the llvm-commits
mailing list