Details
Details
- Reviewers
nhaehnle david-salinas
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/SILowerI1Copies.cpp | ||
---|---|---|
697–698 | I don't see where the physical register check is coming from. If SrcReg is a virtual register (which it should be), this should crash? | |
test/CodeGen/AMDGPU/si-lower-i1-copies-vgpr.mir | ||
2 ↗ | (On Diff #205445) | This isn't really checking anything. Generated checks with update_mir_test_checks are probably OK |
Comment Actions
original fix was incorrect. This update forces the RegClass if the destination operand is VReg_1, to SReg_32. And then removes the attempt to change the new MI Operand(1).
I don't see where the physical register check is coming from. If SrcReg is a virtual register (which it should be), this should crash?