[llvm] [AMDGPU] selecting v_sat_pk instruction, version 2 (PR #123297)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 00:46:42 PST 2025


================
@@ -15184,6 +15208,20 @@ SDValue SITargetLowering::PerformDAGCombine(SDNode *N,
       return Widened;
     [[fallthrough]];
   }
+  case ISD::BITCAST: {
+    // If src.VT == dst.VT, there is no instruction can be select
----------------
arsenm wrote:

None of this should be necessary, you shouldn't have to touch anything related to bitcast handling 

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


More information about the llvm-commits mailing list