Displaying 2 results from an estimated 2 matches for "81b8a853".
2019 May 28
2
Instruction is selected, but it shouldn't (?)
In MyTargetRegisterInfo.td file, I defined separated register classes for general purpose registers and for the SP register:
def GR16 : RegisterClass<"CPU74", [i16], 16, (add R0, R1, R2, R3, R4, R5, R6, R7)>;
def SSP : RegisterClass<"CPU74", [i16], 16, (add SP)>;
The SP can not be used in general purpose arithmetic instructions, therefore I defined the following
2019 May 28
2
Instruction is selected, but it shouldn't (?)
...ace class T11sr16alu, before class T5rr16alu, then the right instruction is selected
>
> Why is that?.
> What I am missing?
>
> Joan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190528/81b8a853/attachment.html>