Remove working entry from README.
authorEli Friedman <eli.friedman@gmail.com>
Sun, 17 Apr 2011 02:36:27 +0000 (02:36 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sun, 17 Apr 2011 02:36:27 +0000 (02:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129654 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt
test/CodeGen/X86/lea-3.ll

index 94cf25b44f5ef3a73d9e0a543b6fb820b2db467b..1902485c18206caa37369e4f3054277057ba1090 100644 (file)
@@ -7,14 +7,6 @@ copy (3-addr bswap + memory support?)  This is available on Atom processors.
 
 //===---------------------------------------------------------------------===//
 
-CodeGen/X86/lea-3.ll:test3 should be a single LEA, not a shift/move.  The X86
-backend knows how to three-addressify this shift, but it appears the register
-allocator isn't even asking it to do so in this case.  We should investigate
-why this isn't happening, it could have significant impact on other important
-cases for X86 as well.
-
-//===---------------------------------------------------------------------===//
-
 This should be one DIV/IDIV instruction, not a libcall:
 
 unsigned test(unsigned long long X, unsigned Y) {
index 040c5c25bd3f3f49e0a40f64c927f481d273ec7f..c439ee1d06e36e79ecaa47b75e41959e98b8875a 100644 (file)
@@ -14,7 +14,7 @@ define i32 @test(i32 %a) {
         ret i32 %tmp2
 }
 
-;; TODO!  LEA instead of shift + copy.
+; CHECK: leaq (,[[A0]],8), %rax
 define i64 @test3(i64 %a) {
         %tmp2 = shl i64 %a, 3
         ret i64 %tmp2