[PATCH] D129660: [IR] Add Instruction::getAfterDefInsertionPoint()
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 09:44:02 PDT 2022
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:2640
+ else if (isa<Argument>(Storage))
+ InsertPt = &*F->getEntryBlock().begin();
+ if (InsertPt)
----------------
I'm wondering if it makes sense to move this API to `Value` instead, to handle this case as well. It's needed here and in the InstCombine freeze transform.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129660/new/
https://reviews.llvm.org/D129660
More information about the llvm-commits
mailing list