avr-llvm / llvm

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

Annotate 'Uses' and 'Defs' for instructions #61

Closed dylanmckay closed 9 years ago

dylanmckay commented 9 years ago

Many instructions use or clobber registers such as r0, r1, SREG, etc.

Trawl through the instruction manual and add missing Uses and Defs fields.

See lib/Target/AVR/AVRInstrInfo.td.