[llvm-branch-commits] [llvm] DAG: Remove TypePromoteFloat (PR #177427)

Shilei Tian via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 26 06:45:43 PST 2026


================
@@ -218,15 +218,14 @@ class LLVM_ABI TargetLoweringBase {
     TypeScalarizeVector, // Replace this one-element vector with its element.
     TypeSplitVector,     // Split this vector into two of half the size.
     TypeWidenVector,     // This vector should be widened into a larger vector.
-    TypePromoteFloat,    // Replace this float with a larger one.
     TypeSoftPromoteHalf, // Soften half to i16 and use float to do arithmetic.
-    TypeScalarizeScalableVector, // This action is explicitly left unimplemented.
-                                 // While it is theoretically possible to
-                                 // legalize operations on scalable types with a
-                                 // loop that handles the vscale * #lanes of the
-                                 // vector, this is non-trivial at SelectionDAG
-                                 // level and these types are better to be
-                                 // widened or promoted.
+    TypeScalarizeScalableVector, // This action is explicitly left
+                                 // unimplemented. While it is theoretically
+                                 // possible to legalize operations on scalable
+                                 // types with a loop that handles the vscale *
+                                 // #lanes of the vector, this is non-trivial at
+                                 // SelectionDAG level and these types are
+                                 // better to be widened or promoted.
----------------
shiltian wrote:

Doesn't seem like there is anything changed here?

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


More information about the llvm-branch-commits mailing list