[llvm] [AMDGPU] Support arbitrary types in amdgcn.dead (PR #134841)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 06:22:56 PDT 2025
================
@@ -7651,6 +7651,12 @@ bool AMDGPULegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper,
return legalizeLaneOp(Helper, MI, IntrID);
case Intrinsic::amdgcn_s_buffer_prefetch_data:
return legalizeSBufferPrefetch(Helper, MI);
+ case Intrinsic::amdgcn_dead: {
+ for (const MachineOperand &Def : MI.defs())
----------------
jayfoad wrote:
How can this intrinsic get multiple defs in the first place?
https://github.com/llvm/llvm-project/pull/134841
More information about the llvm-commits
mailing list