diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/shift-and.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/shift-and.ll | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/llvm/test/CodeGen/X86/shift-and.ll b/llvm/test/CodeGen/X86/shift-and.ll index f1f508c225d..1e448d39f77 100644 --- a/llvm/test/CodeGen/X86/shift-and.ll +++ b/llvm/test/CodeGen/X86/shift-and.ll @@ -4,14 +4,14 @@ define i32 @t1(i32 %t, i32 %val) nounwind { ; X32-LABEL: t1: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: movb {{[0-9]+}}(%esp), %cl ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax ; X32-NEXT: shll %cl, %eax ; X32-NEXT: retl ; ; X64-LABEL: t1: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: movl %edi, %ecx ; X64-NEXT: shll %cl, %esi ; X64-NEXT: movl %esi, %eax @@ -23,14 +23,14 @@ define i32 @t1(i32 %t, i32 %val) nounwind { define i32 @t2(i32 %t, i32 %val) nounwind { ; X32-LABEL: t2: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: movb {{[0-9]+}}(%esp), %cl ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax ; X32-NEXT: shll %cl, %eax ; X32-NEXT: retl ; ; X64-LABEL: t2: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: movl %edi, %ecx ; X64-NEXT: shll %cl, %esi ; X64-NEXT: movl %esi, %eax @@ -44,13 +44,13 @@ define i32 @t2(i32 %t, i32 %val) nounwind { define void @t3(i16 %t) nounwind { ; X32-LABEL: t3: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: movb {{[0-9]+}}(%esp), %cl ; X32-NEXT: sarw %cl, X ; X32-NEXT: retl ; ; X64-LABEL: t3: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: movl %edi, %ecx ; X64-NEXT: sarw %cl, {{.*}}(%rip) ; X64-NEXT: retq @@ -63,7 +63,7 @@ define void @t3(i16 %t) nounwind { define i64 @t4(i64 %t, i64 %val) nounwind { ; X32-LABEL: t4: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: pushl %esi ; X32-NEXT: movb {{[0-9]+}}(%esp), %cl ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax @@ -73,7 +73,7 @@ define i64 @t4(i64 %t, i64 %val) nounwind { ; X32-NEXT: shrdl %cl, %esi, %eax ; X32-NEXT: testb $32, %cl ; X32-NEXT: je .LBB3_2 -; X32-NEXT: # BB#1: +; X32-NEXT: # %bb.1: ; X32-NEXT: movl %edx, %eax ; X32-NEXT: xorl %edx, %edx ; X32-NEXT: .LBB3_2: @@ -81,7 +81,7 @@ define i64 @t4(i64 %t, i64 %val) nounwind { ; X32-NEXT: retl ; ; X64-LABEL: t4: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: movl %edi, %ecx ; X64-NEXT: shrq %cl, %rsi ; X64-NEXT: movq %rsi, %rax @@ -93,7 +93,7 @@ define i64 @t4(i64 %t, i64 %val) nounwind { define i64 @t5(i64 %t, i64 %val) nounwind { ; X32-LABEL: t5: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: pushl %esi ; X32-NEXT: movb {{[0-9]+}}(%esp), %cl ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax @@ -103,7 +103,7 @@ define i64 @t5(i64 %t, i64 %val) nounwind { ; X32-NEXT: shrdl %cl, %esi, %eax ; X32-NEXT: testb $32, %cl ; X32-NEXT: je .LBB4_2 -; X32-NEXT: # BB#1: +; X32-NEXT: # %bb.1: ; X32-NEXT: movl %edx, %eax ; X32-NEXT: xorl %edx, %edx ; X32-NEXT: .LBB4_2: @@ -111,7 +111,7 @@ define i64 @t5(i64 %t, i64 %val) nounwind { ; X32-NEXT: retl ; ; X64-LABEL: t5: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: movl %edi, %ecx ; X64-NEXT: shrq %cl, %rsi ; X64-NEXT: movq %rsi, %rax @@ -123,7 +123,7 @@ define i64 @t5(i64 %t, i64 %val) nounwind { define void @t5ptr(i64 %t, i64* %ptr) nounwind { ; X32-LABEL: t5ptr: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: pushl %edi ; X32-NEXT: pushl %esi ; X32-NEXT: movb {{[0-9]+}}(%esp), %cl @@ -135,7 +135,7 @@ define void @t5ptr(i64 %t, i64* %ptr) nounwind { ; X32-NEXT: shrdl %cl, %edi, %edx ; X32-NEXT: testb $32, %cl ; X32-NEXT: je .LBB5_2 -; X32-NEXT: # BB#1: +; X32-NEXT: # %bb.1: ; X32-NEXT: movl %esi, %edx ; X32-NEXT: xorl %esi, %esi ; X32-NEXT: .LBB5_2: @@ -146,7 +146,7 @@ define void @t5ptr(i64 %t, i64* %ptr) nounwind { ; X32-NEXT: retl ; ; X64-LABEL: t5ptr: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: movl %edi, %ecx ; X64-NEXT: shrq %cl, (%rsi) ; X64-NEXT: retq @@ -161,7 +161,7 @@ define void @t5ptr(i64 %t, i64* %ptr) nounwind { ; rdar://11866926 define i64 @t6(i64 %key, i64* nocapture %val) nounwind { ; X32-LABEL: t6: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: pushl %edi ; X32-NEXT: pushl %esi ; X32-NEXT: movl {{[0-9]+}}(%esp), %ecx @@ -181,7 +181,7 @@ define i64 @t6(i64 %key, i64* nocapture %val) nounwind { ; X32-NEXT: retl ; ; X64-LABEL: t6: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: shrq $3, %rdi ; X64-NEXT: movq (%rsi), %rax ; X64-NEXT: decq %rax @@ -196,7 +196,7 @@ define i64 @t6(i64 %key, i64* nocapture %val) nounwind { define i64 @big_mask_constant(i64 %x) nounwind { ; X32-LABEL: big_mask_constant: -; X32: # BB#0: +; X32: # %bb.0: ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax ; X32-NEXT: andl $4, %eax ; X32-NEXT: shll $25, %eax @@ -204,7 +204,7 @@ define i64 @big_mask_constant(i64 %x) nounwind { ; X32-NEXT: retl ; ; X64-LABEL: big_mask_constant: -; X64: # BB#0: +; X64: # %bb.0: ; X64-NEXT: shrq $7, %rdi ; X64-NEXT: andl $134217728, %edi # imm = 0x8000000 ; X64-NEXT: movq %rdi, %rax |