[llvm] [AMDGPU] Promote uniform ops to I32 in ISel (PR #106383)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 01:28:04 PDT 2024


================
@@ -6746,6 +6748,122 @@ SDValue SITargetLowering::lowerFLDEXP(SDValue Op, SelectionDAG &DAG) const {
   return DAG.getNode(ISD::FLDEXP, DL, VT, Op.getOperand(0), TruncExp);
 }
 
+static unsigned getExtOpcodeForPromotedOp(SDValue Op) {
----------------
Pierre-vh wrote:

I haven't found one, there are some `getExtendFor` functions but they're not for binops

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


More information about the llvm-commits mailing list