[llvm] [AMDGPU] Every convergent operation needs post-isel processing (PR #80102)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 02:54:23 PST 2024


================
@@ -46,6 +46,9 @@ class AMDGPUInst <dag outs, dag ins, string asm = "",
 
   let TSFlags{63} = isRegisterLoad;
   let TSFlags{62} = isRegisterStore;
+
+  assert !if(!eq(isConvergent, 1), !eq(hasPostISelHook, 1), true),
----------------
jayfoad wrote:

```suggestion
  assert !if(isConvergent, hasPostISelHook, true),
```

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


More information about the llvm-commits mailing list