[llvm] [amdgpu] Add llvm.amdgcn.init.whole.wave intrinsic (PR #105822)
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 01:23:46 PDT 2024
================
@@ -1582,6 +1583,28 @@ void SIWholeQuadMode::lowerInitExec(MachineInstr &MI) {
MachineBasicBlock *MBB = MI.getParent();
bool IsWave32 = ST->isWave32();
+ if (MI.getOpcode() == AMDGPU::SI_INIT_WHOLE_WAVE) {
+ // TODO: Assert that it's in the entry block
----------------
rovka wrote:
Ooops, I thought for sure I would notice that before pushing...
https://github.com/llvm/llvm-project/pull/105822
More information about the llvm-commits
mailing list