[PATCH] D69823: [IR] PR27065: Added tests for BasicBlock::removePredecessor.
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 13:40:23 PST 2019
lebedev.ri added inline comments.
================
Comment at: llvm/test/Transforms/Inline/clone-function-no-assert-on-phis.ll:8-10
+; [[TMP81_I:%.*]] = getelementptr inbounds i8, i8* [[TMP81_I]], i64 1
+; It happens to work, because the code is dead and
+; verifier doesn't complain.
----------------
Can that happen for non-dead code?
That is perfectly okay for dead, unreachable code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69823/new/
https://reviews.llvm.org/D69823
More information about the llvm-commits
mailing list