Current version of isTargetSpecificOpcode only checks for opcodes > PRE_ISEL_GENERIC_OPCODE_END.
We'd need to check for those TargetOpcodes defined before PRE_ISEL_GENERIC_OPCODE_BEGIN.
Details
Details
- Reviewers
qcolombet t.p.northover ab
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi Aditya,
I don't think this is the right way to fix that.
We want to RegBankSelect COPYs and PHIs (and REG_SEQUENCEs at some point) and this patch breaks that.
The problem is that REG_SEQUENCE are not supported yet in RegBankSelect (we miss the logic to create appropriate mappings) and I believe a better work around is to explicitly by pass REG_SEQUENCE for now in RegBankSelect.
Cheers,
-Quentin
Comment Actions
Actually, now, that I think about it, REG_SEQUENCE, if any, should be supported on AArch64.
Thus, we should need anything.