[llvm] [amdgpu] Add llvm.amdgcn.init.whole.wave intrinsic (PR #105822)

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 08:57:31 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
----------------
nhaehnle wrote:

Do the TODO? :)

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


More information about the llvm-commits mailing list