[PATCH] D87748: [AMDGPU] Consider all SGPR uses as unique in constant bus verify

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 18:26:15 PDT 2020


critson added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/verify-constant-bus-violations.mir:16
+
+# GFX10-ERR: *** Bad machine code: VOP* instruction violates constant bus restriction ***
+# GFX10-ERR: $vgpr0 = V_CNDMASK_B32_e64 0, $sgpr0, 0, $sgpr2, killed $sgpr0_sgpr1, implicit $exec
----------------
arsenm wrote:
> This error should also be hit for gfx9
It does, but compiler dies on first violation.
I can break this test into two files if you want me to check it?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87748/new/

https://reviews.llvm.org/D87748



More information about the llvm-commits mailing list