diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-04-17 02:36:27 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-04-17 02:36:27 +0000 |
commit | 2f108f81c1fd729e0ad47c92af9cc8a535fa557a (patch) | |
tree | 14a3dd51c90776f954fe45f8a957cc801c2b04cb | |
parent | fff65b354f9895f5add84d99e0f62176f5d3f0f6 (diff) |
Remove working entry from README.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129654 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/README.txt | 8 | ||||
-rw-r--r-- | test/CodeGen/X86/lea-3.ll | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 94cf25b44f..1902485c18 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -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) { diff --git a/test/CodeGen/X86/lea-3.ll b/test/CodeGen/X86/lea-3.ll index 040c5c25bd..c439ee1d06 100644 --- a/test/CodeGen/X86/lea-3.ll +++ b/test/CodeGen/X86/lea-3.ll @@ -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 |