[PATCH] D100770: [AMDGPU] Allow multiple uses of the same literal

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 09:43:09 PDT 2021


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/verify-duplicate-literal.mir:14
+    ; CHECK: $vgpr0 = V_CNDMASK_B32_e64 0, 1234567, 0, 1234567, killed $vcc_lo, implicit $exec
+    $vgpr0 = V_CNDMASK_B32_e64 0, 1234567, 0, 1234567, killed $vcc_lo, implicit $exec
+...
----------------
Should probably add a few more tests for other instruction types (in particular ones without an implicit vcc use and would be a more sensible place for this to happen)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100770



More information about the llvm-commits mailing list