forked from OSchip/llvm-project
With evan's explicit flag representation, hopefully we will finally be
able to 3-addressify away stuff like this: movl %ecx, %eax decl %eax llvm-svn: 41020
This commit is contained in:
parent
3687007119
commit
ee44ab5b5f
|
@ -959,7 +959,7 @@ Though this probably isn't worth it.
|
|||
//===---------------------------------------------------------------------===//
|
||||
|
||||
We need to teach the codegen to convert two-address INC instructions to LEA
|
||||
when the flags are dead. For example, on X86-64, compile:
|
||||
when the flags are dead (likewise dec). For example, on X86-64, compile:
|
||||
|
||||
int foo(int A, int B) {
|
||||
return A+1;
|
||||
|
|
Loading…
Reference in New Issue