[llvm] [VPlan] Add scalar inferencing support for addrspace cast (PR #92107)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 05:26:18 PDT 2024


================
@@ -185,6 +185,7 @@ Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPReplicateRecipe *R) {
   case Instruction::FPToUI:
   case Instruction::PtrToInt:
   case Instruction::IntToPtr:
+  case Instruction::AddrSpaceCast:
----------------
fhahn wrote:

Try to keep lex ordering (arguably partly broken at the moment but move to correct position)

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


More information about the llvm-commits mailing list