Displaying 1 result from an estimated 1 matches for "__unnamed_4".
2018 Jul 14
2
Lowering a reasonably complex struct seems to create over complex and invalid assembly fixups on some targets
...re being created.
When compiled on AVR, I get the error "LLVM ERROR: expected relocatable expression”.
If I compile to asm, I get these fixups…
llc -march=avr -mcpu=atmega328p cause-relocation-error.ll -filetype=obj -debug 2>&1|
grep unnamed_4
Fixups:[<MCFixup Offset:0 Value:(__unnamed_4&65535)-((_TMRfV4main10Brightness&65535)+16) Kind:2>]>,
(__unnamed_4, Index:0, ),
Fixups:[<MCFixup Offset:0 Value:(__unnamed_4&65535)-((_TMRfV4main10Brightness&65535)+16) Kind:2>]>,
(__unnamed_4, Index:0, ),
Fixups:[<MCFixup Off...