[llvm] [NVPTX] Propagate truncate to operands (PR #98666)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 12:46:29 PDT 2024
================
@@ -5974,6 +6023,10 @@ SDValue NVPTXTargetLowering::PerformDAGCombine(SDNode *N,
case ISD::VSELECT:
return PerformVSELECTCombine(N, DCI);
}
+
+ if (N->isMachineOpcode() && N->getMachineOpcode() == NVPTX::CVT_u32_u64)
+ return PerformTruncCombine(N, DCI);
+
----------------
justinfargnoli wrote:
Resolving because the implementation has been moved to DAGCombine.
https://github.com/llvm/llvm-project/pull/98666
More information about the llvm-commits
mailing list