[llvm] [AMDGPU] Extend type support for update_dpp intrinsic (PR #114597)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 17:46:34 PST 2024


================
@@ -6162,13 +6162,21 @@ static SDValue lowerLaneOp(const SITargetLowering &TLI, SDNode *N,
                        IID == Intrinsic::amdgcn_set_inactive_chain_arg;
   SDLoc SL(N);
   MVT IntVT = MVT::getIntegerVT(ValSize);
+  const GCNSubtarget &ST =
+      DAG.getMachineFunction().getSubtarget<GCNSubtarget>();
----------------
arsenm wrote:

TLI.getSubtarget() is shorter 

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


More information about the llvm-commits mailing list