diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-14 02:07:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-14 02:07:32 +0000 |
commit | a899d1c26454694c488c9e609c5ba69df4774872 (patch) | |
tree | 92af58cee07d7f2345dd3a86ac0a7e0720929b21 /test/CodeGen/X86/fast-isel-gep.ll | |
parent | 67d98916900a68b5902428e39f9c865c8d02c1bf (diff) | |
download | llvm-a899d1c26454694c488c9e609c5ba69df4774872.tar.gz llvm-a899d1c26454694c488c9e609c5ba69df4774872.tar.bz2 llvm-a899d1c26454694c488c9e609c5ba69df4774872.tar.xz |
r123414 broke llvm-gcc bootstrap apparently, revert
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-gep.ll')
-rw-r--r-- | test/CodeGen/X86/fast-isel-gep.ll | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/CodeGen/X86/fast-isel-gep.ll b/test/CodeGen/X86/fast-isel-gep.ll index 622a1ff831..577dd7223a 100644 --- a/test/CodeGen/X86/fast-isel-gep.ll +++ b/test/CodeGen/X86/fast-isel-gep.ll @@ -70,20 +70,3 @@ entry: ; X64: test4: ; X64: 128(%r{{.*}},%r{{.*}},8) } - -; PR8961 - Make sure the sext for the GEP addressing comes before the load that -; is folded. -define i64 @test5(i8* %A, i32 %I, i64 %B) nounwind { - %v8 = getelementptr i8* %A, i32 %I - %v9 = bitcast i8* %v8 to i64* - %v10 = load i64* %v9 - %v11 = add i64 %B, %v10 - ret i64 %v11 -; X64: test5: -; X64: movslq %esi, %rax -; X64-NEXT: movq (%rdi,%rax), %rax -; X64-NEXT: addq %rdx, %rax -; X64-NEXT: ret -} - - |