Details
- Reviewers
dsanders gjain qcolombet critson - Commits
- rG5dc47541f9ea: [NFC] Use Register/MCRegister
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | ||
---|---|---|
40–41 | (sorry, somehow used the wrong account for this comment) |
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | ||
---|---|---|
142 | Does it make sense that instead of converting a MCRegister to a Register we should just compare the id's? I would think we we'd want to avoid easy conversions of MCRegister to Register. Another options is we actually provide a comparison operator between MCRegister and Register. |
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | ||
---|---|---|
142 | Probably a pair == & != operators would be reasonable; I hit this a couple of times... hmm... may be best to do it in one swoop. I'd add them in a subsequent patch, wdyt? |
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | ||
---|---|---|
142 | Of course! |
@critson - Looking at the uses of CondReg and ExecReg, it seems they are always physical registers (never virtual/stack slots), is this correct?
Thanks!