[llvm] [SPIR-V] Ensure that internal intrinsic functions for PHI's operand are inserted at the correct positions (PR #92316)

Vyacheslav Levytskyy via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 01:33:14 PDT 2024


================
@@ -174,7 +174,7 @@ static bool isAggrToReplace(const Value *V) {
 
 static void setInsertPointSkippingPhis(IRBuilder<> &B, Instruction *I) {
----------------
VyacheslavLevytskyy wrote:

Not exactly, it's a bit different case. But thank you very much for the pointer, `getInsertionPointAfterDef()` and its applications were worth a study.

https://github.com/llvm/llvm-project/pull/92316


More information about the llvm-commits mailing list