[PATCH] D53496: AMDGPU: Rewrite SILowerI1Copies to always stay on SALU
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 23 09:46:14 PDT 2018
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/SILowerI1Copies.cpp:89
+ return TII->getRegisterInfo().isSGPRReg(*MRI, Reg) &&
+ TII->getRegisterInfo().getRegSizeInBits(Reg, *MRI) == 64;
+ }
----------------
```
TII->getRegisterInfo().getRegSizeInBits(Reg, *MRI) == ST.getWavefrontSize();
```
Repository:
rL LLVM
https://reviews.llvm.org/D53496
More information about the llvm-commits
mailing list