avr-llvm / llvm

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

WIP: Support atomics #206

Closed dylanmckay closed 8 years ago

dylanmckay commented 8 years ago

This adds atomics support to AVR-LLVM. Based of @shepmaster's original work.

Fix for #197

dylanmckay commented 8 years ago

I also had trouble with gluing all the nodes together. Have asked for help on the llvm-dev list.

dylanmckay commented 8 years ago

LLVMDev suggests that the only real way to do this is in the machine instruction stage.

Even if we managed to glue all the nodes together, the pipeline would likely insert spills and stuff inbetween.