[PATCH] D86541: [AMDGPU] Preserve vcc_lo when shrinking V_CNDMASK
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 05:48:25 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3475-3480
+ if (Src2->getReg() == AMDGPU::VCC_LO) {
+ for (auto &Use : Inst32->implicit_operands()) {
+ if (Use.isUse() && Use.getReg() == AMDGPU::VCC)
+ Use.setReg(AMDGPU::VCC_LO);
+ }
+ }
----------------
We have SIInstrInfo::fixImplicitOperands for this
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86541/new/
https://reviews.llvm.org/D86541
More information about the llvm-commits
mailing list