[PATCH] D91636: [AMDGPU] Fix and extend vccz workarounds

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 09:14:47 PST 2020


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp:1477
+          VCCZCorrect = false;
+      } else if (Inst.definesRegister(AMDGPU::VCC)) {
         // There is a hardware bug on CI/SI where SMRD instruction may corrupt
----------------
arsenm wrote:
> Could you have DefVCCLo && DefVCCHi?
I'm not sure what you're asking. But this particular bit of logic (if defines vcc_lo or vcc_hi ... else if defines vcc ...) hasn't changed, it has just moved up from line 1488, and it was previously discussed here: https://reviews.llvm.org/D69661#inline-627569


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91636



More information about the llvm-commits mailing list