[llvm] [AMDGPU] Add intrinsic readanylane (PR #115696)

Xin Russell Liu via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 04:46:01 PST 2024


================
@@ -97,9 +98,11 @@ bool AMDGPUInstructionSelector::isVCC(Register Reg,
 
 bool AMDGPUInstructionSelector::constrainCopyLikeIntrin(MachineInstr &MI,
                                                         unsigned NewOpc) const {
+  const bool NeedExec = NewOpc != AMDGPU::SI_READANYLANE;
----------------
GinShio wrote:

For the 1st version, it's SAlu and I thought it's uniform when defined. So...
Now, the intrinsic depends on exec.

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


More information about the llvm-commits mailing list