[PATCH] D102111: [AMDGPU] Update SCC defs to VCC when uses are changed to VCC

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 17:17:58 PDT 2021


arsenm added a comment.

Can you add an IR example where this happens? I thought this was a solved problem already



================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:6848-6850
+    if (MI.definesRegister(AMDGPU::VCC_LO, &RI) ||
+        MI.definesRegister(AMDGPU::VCC_HI, &RI))
+      break;
----------------
modifiesRegister(VCC)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102111



More information about the llvm-commits mailing list