[llvm] [NVPTX] pull in v2i32 build_vector through v2f32 bitcast (PR #153478)
    Princeton Ferro via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Aug 13 13:58:32 PDT 2025
    
    
  
================
@@ -5334,6 +5335,26 @@ static SDValue PerformANDCombine(SDNode *N,
   return SDValue();
 }
 
+static SDValue combineBitcast(SDNode *N, TargetLowering::DAGCombinerInfo &DCI) {
+  const SDValue &Input = N->getOperand(0);
+  const MVT FromVT = Input.getSimpleValueType();
+  const MVT ToVT = N->getSimpleValueType(0);
----------------
Prince781 wrote:
Good point. It would assert. Fixed.
https://github.com/llvm/llvm-project/pull/153478
    
    
More information about the llvm-commits
mailing list