[PATCH] D151886: InstSimplify: Remove null parent checks
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 1 12:26:10 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:6925
// Gracefully handle edge cases where the instruction is not wired into any
// parent block.
+ if (!I->isEHPad() && !I->isTerminator() &&
----------------
Outdated comment
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:6957
// Gracefully handle edge cases where the instruction is not wired into any
// parent block.
+ if (!I->isEHPad() && !I->isTerminator() &&
----------------
Outdated comment
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151886/new/
https://reviews.llvm.org/D151886
More information about the llvm-commits
mailing list