[PATCH] D82370: [AMDGPU] Rework SCC copy
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 06:53:43 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:674-675
+
+ // We only care about the low bit here.
+ if (AMDGPU::SReg_64RegClass.contains(SrcReg)) {
+ SrcReg = RI.getSubReg(SrcReg, AMDGPU::sub0);
----------------
I think you should never end up in this situation to begin with. Maybe this should be a verifier error instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82370/new/
https://reviews.llvm.org/D82370
More information about the llvm-commits
mailing list