Mostly LiveIntervals, with their effects (users).
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/RegisterCoalescer.cpp | ||
---|---|---|
2396 | Should this be a reference? | |
llvm/lib/CodeGen/RegisterCoalescer.h | ||
33 | Should we omit the assignment since we are already using the default constructor? | |
36 | ditto | |
llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp | ||
112 | Should this be instead? Register PhysReg(Register::isPhysicalRegister(MO->getReg()) ? MO->getReg() : VRM->getPhys(Reg)) |
feedback
llvm/lib/CodeGen/RegisterCoalescer.cpp | ||
---|---|---|
2396 | No, storage-wise it's a 32 bit integer. | |
llvm/lib/CodeGen/RegisterCoalescer.h | ||
33 | done. | |
llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp | ||
112 | It'll be lowered to the same thing. Plus, we still need to cast VRM->getPhys so both sides of the ternary operator have the same type. |
Thanks! (Make sure that you have tested with LLVM_TARGETS_TO_BUILD=all for API changes like this. )
clang-tidy: warning: invalid case style for parameter 'virtReg' [readability-identifier-naming]
not useful