[PATCH] D129660: [IR] Add Instruction::getAfterDefInsertionPoint()
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 26 11:02:57 PDT 2022
efriedma added reviewers: nickdesaulniers, jyknight, void, nikic.
efriedma added inline comments.
================
Comment at: llvm/lib/IR/Instruction.cpp:131
+ InsertBB = CB->getDefaultDest();
+ InsertPt = InsertBB->getFirstInsertionPt();
+ } else {
----------------
I think for CallBrInst, we're considering modifying the dominance rules to allow the produced value to be used in all destinations? In which case there wouldn't be one unique location after the definition.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129660/new/
https://reviews.llvm.org/D129660
More information about the llvm-commits
mailing list