Displaying 2 results from an estimated 2 matches for "avrregisterinfo".
2017 Dec 20
6
[GlobalISel] gen-global-isel failed to work
...t;>
>>> 在 2017年12月19日 18:53, Daniel Sanders 写道:
>>>>
>>>> Hi Leslie,
>>>>
>>>> There should be a definition of GPR8RegClassID in
>>>> $build_dir/lib/Target/AVR/AVRGenRegisterInfo.inc which should be included by
>>>> AVRRegisterInfo.h. AArch64 includes its AArch64RegisterInfo.h in
>>>> AArch64InstructionSelector.cpp but it seems that ARM gets it indirectly when
>>>> it includes ARMSubtarget.h. It looks like you need to add '#include
>>>> "AVRRegisterInfo.h"' to AVRInstructi...
2015 Jan 31
3
[LLVMdev] Encoding instructions with inconsistent formats
...d Rd, Z+ `1001 000d dddd 0001`
ld Rd, -Z `1001 000d dddd 0010`
^
|
Note this one inconsistent bit
One way to solve this solution would be to to describe them in InstrInfo.td
as seperate instructions. Note that R27R26 is a pointer register defined in
AVRRegisterInfo.td, and 'X' is an alias for this.
let Uses = [R27R26],
canFoldAsLoad = 1,
isReMaterializable = 1 in
def LDRdX : FSTLDPtrReg<0b0,
(outs GPR8:$reg),
(ins),
"ld\t$reg, X",
[(...