avr-llvm / llvm

[MERGED UPSTREAM] AVR backend for the LLVM compiler library
220 stars 21 forks source link

[AVR] Don't reserve the frame pointer when spilling registers #226

Closed dylanmckay closed 8 years ago

dylanmckay commented 8 years ago

This is unnecessary, and required that we added an AVR-specific hack to the register allocator.

Fixes #145

shepmaster commented 8 years ago

Deleting hacks is the best

dylanmckay commented 8 years ago

I'm just happy that I finally got these two hacks out (#1 and #145), they were the two main problems in getting all of the code upstreamed (because hacks that dirty should never see the light of day)