summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/add.ll
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-25 02:48:58 +0000
committerAndrew Trick <atrick@apple.com>2013-06-25 02:48:58 +0000
commitb2b5dc642cbbe781f73b9da83874d4005c50bd8e (patch)
treede069755e86d024fd756be8e3bb35301ae437dbc /test/CodeGen/X86/add.ll
parent73e44d8ae4c227af92b8f96f447e4a7ed38f6de5 (diff)
downloadllvm-b2b5dc642cbbe781f73b9da83874d4005c50bd8e.tar.gz
llvm-b2b5dc642cbbe781f73b9da83874d4005c50bd8e.tar.bz2
llvm-b2b5dc642cbbe781f73b9da83874d4005c50bd8e.tar.xz
Revert "Temporarily enable MI-Sched on X86."
This reverts commit 98a9b72e8c56dc13a2617de84503a3d78352789c. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/add.ll')
-rw-r--r--test/CodeGen/X86/add.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/X86/add.ll b/test/CodeGen/X86/add.ll
index dc02ac6466..5fe08ed305 100644
--- a/test/CodeGen/X86/add.ll
+++ b/test/CodeGen/X86/add.ll
@@ -9,7 +9,7 @@ define i32 @test1(i32 inreg %a) nounwind {
%b = add i32 %a, 128
ret i32 %b
; X32: subl $-128, %eax
-; X64: subl $-128,
+; X64: subl $-128,
}
define i64 @test2(i64 inreg %a) nounwind {
%b = add i64 %a, 2147483648
@@ -20,7 +20,7 @@ define i64 @test2(i64 inreg %a) nounwind {
define i64 @test3(i64 inreg %a) nounwind {
%b = add i64 %a, 128
ret i64 %b
-
+
; X32: addl $128, %eax
; X64: subq $-128,
}
@@ -38,7 +38,7 @@ normal:
overflow:
ret i1 false
-
+
; X32: test4:
; X32: addl
; X32-NEXT: jo
@@ -82,11 +82,11 @@ define i64 @test6(i64 %A, i32 %B) nounwind {
ret i64 %tmp5
; X32: test6:
-; X32: movl 4(%esp), %eax
-; X32-NEXT: movl 12(%esp), %edx
+; X32: movl 12(%esp), %edx
; X32-NEXT: addl 8(%esp), %edx
+; X32-NEXT: movl 4(%esp), %eax
; X32-NEXT: ret
-
+
; X64: test6:
; X64: shlq $32, %r[[A1]]
; X64: leaq (%r[[A1]],%r[[A0]]), %rax