[PATCH] D91636: [AMDGPU] Fix and extend vccz workarounds
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 09:16:27 PST 2020
arsenm 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
----------------
foad wrote:
> 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
I mean call definesRegister 2x instead of 3x
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