search for: a4b492f63

Displaying 1 result from an estimated 1 matches for "a4b492f63".

2016 Feb 13
4
Register spilling fix for experimental 6502 backend
...o the current behavior of always using the same class as the reg being spilled.) The line refers to this very limitation. It was written in 2010, so we've known about the limitation since the beginning. My RA patch can be found in this commit: <https://github.com/beholdnec/llvm-m6502/commit/a4b492f63> This patch allows spills to use a more general reg class, so a spilled Acc can be reloaded as a General. Previously, the RA would fail because it would spill X, but it couldn't reload X into an Acc. Now, with the patch, the DAG compiles into this: # store X to stack STX_stack [0]...