Displaying 1 result from an estimated 1 matches for "strab".
Did you mean:
stray
2016 Feb 12
3
Experimental 6502 backend; memory operand folding problem
...ituation? Or, is there another way
to coax LLVM into recognizing ADD?
The problem I'm stuck on is folding memory operands. In the test file above,
in @testSum, switch %a, %b to %b, %a. llc will assert in Register Spilling:
"Remaining use wasn't a snippet copy". Debug output shows STRabs being
generated,
followed by an attempted fold of a stack-load into ADDabs.
I must be on the wrong track in M6502InstrInfo::foldMemoryOperandImpl. If
someone could please explain this error, it would really help. Thanks!
- Nolan