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:
Chris Lattner 2007-08-11 18:16:46 +00:00
parent 3687007119
commit ee44ab5b5f
1 changed files with 1 additions and 1 deletions

View File

@ -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;