avr-llvm / llvm

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

Use the generic branch relaxation infrastructure #228

Closed dylanmckay closed 7 years ago

dylanmckay commented 8 years ago

I opened up a patch for the AVR branch selection pass. Matt Arsenault suggested we use the recently-added generic branch relation pass.

We should modify the code to use that and then push the patch back upstream.

An example can be found in the original implementation here.