With evan's explicit flag representation, hopefully we will finally be
authorChris Lattner <sabre@nondot.org>
Sat, 11 Aug 2007 18:16:46 +0000 (18:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 11 Aug 2007 18:16:46 +0000 (18:16 +0000)
able to 3-addressify away stuff like this:

        movl    %ecx, %eax
        decl    %eax

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41020 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index 96f494181eff6fea9b8659ed998b35ba7277b95e..ab110115a15562abd0e2faef12af46fc730a570f 100644 (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;