llvm-dcpu16/llvm-dcpu16 — pull request #176 by a1k0n (2012-05-17 05:20:46+00:00)
Title: Add isStoreToStackSlot implementation to DCPU16InstrInfo

This cures a problem with complex code where various passes of the
register allocator cause redundant spills of registers to the stack to
be generated. This is normal, and then it iterates over the basic block
calling isStoreToStackSlot to find the redundant ones. Without this
being implemented, we can generate multiple (useless) consecutive SET
[SP+x], reg instructions.