Separate MCRegisterInfo::regsOverlap out from
TargetRegisterInfo::regsOverlap. This is useful in the AMDGPU AsmParser
where we only have access to MCRegisterInfo.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/CodeGen/TargetRegisterInfo.h | ||
---|---|---|
422 | Seems like I need MCRegisterInfo:: here because the overloads can't be disambiguated from the argument type, Register vs MCRegister. | |
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | ||
3381–3382 | I no longer call mc2PseudoReg on the arguments here because I don't understand what it's for. Is that OK? |
Seems like I need MCRegisterInfo:: here because the overloads can't be disambiguated from the argument type, Register vs MCRegister.