Issue 183605
Summary sendmsg intrinsics should fold unused m0 inputs to poison
Labels backend:AMDGPU, missed-optimization
Assignees
Reporter arsenm
    AMDGPUInstCombineIntrinsic should fold the second argument of`llvm.amdgcn.s.sendmsg` to poison if the message kind does not make use of m0. This intrinsic takes an immediate value encoding the type of message, and a second operand for what to pass in m0. Typically we now get an unnecessary initialization of m0 to 0.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to