[llvm] [SPIR-V] Ensure that internal intrinsic functions for PHI's operand are inserted at the correct positions (PR #92316)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 14:06:52 PDT 2024
================
@@ -174,7 +174,7 @@ static bool isAggrToReplace(const Value *V) {
static void setInsertPointSkippingPhis(IRBuilder<> &B, Instruction *I) {
----------------
efriedma-quic wrote:
Maybe you want getInsertionPointAfterDef()?
The exact way you write it doesn't really matter much if you don't have exception-handling, though.
https://github.com/llvm/llvm-project/pull/92316
More information about the llvm-commits
mailing list