[llvm] [VPlan] Expand VPWidenIntOrFpInductionRecipe into separate recipes (PR #118638)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 02:02:26 PST 2025


================
@@ -2333,8 +2198,9 @@ Value *VPScalarCastRecipe ::generate(VPTransformState &State) {
   switch (Opcode) {
   case Instruction::SExt:
   case Instruction::ZExt:
-  case Instruction::Trunc: {
-    // Note: SExt/ZExt not used yet.
+  case Instruction::Trunc:
+  case Instruction::UIToFP: {
+    // Note: SExt not used yet.
----------------
LiqinWeng wrote:

 Note: SExt not used yet. -----> Note: SExt/ZExt not used yet.

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


More information about the llvm-commits mailing list