Skip to content

Instantly share code, notes, and snippets.

@anarsoul
Created March 10, 2020 00:02
Original:
r6 = fadd r5, ssa_11
r4 = mov r5
r5 = mov r6
Rewritten:
r6 = fadd r5, ssa_11 <--- live r5, (killed r6) <-- not used anywhere else, doesn't conflict with anything!
r4 = mov r5 <--- live r5 (killed r4)
r5 = fadd r5, ssa_11 <--- live {} (killed r5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment