diff options
Diffstat (limited to 'test/CodeGen/X86/GlobalISel/memop-scalar.ll')
| -rw-r--r-- | test/CodeGen/X86/GlobalISel/memop-scalar.ll | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/CodeGen/X86/GlobalISel/memop-scalar.ll b/test/CodeGen/X86/GlobalISel/memop-scalar.ll index 2097a3b0bfc9f..0355c395780b6 100644 --- a/test/CodeGen/X86/GlobalISel/memop-scalar.ll +++ b/test/CodeGen/X86/GlobalISel/memop-scalar.ll @@ -4,7 +4,7 @@ define i1 @test_load_i1(i1 * %p1) { ; ALL-LABEL: test_load_i1: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movb (%rdi), %al ; ALL-NEXT: retq %r = load i1, i1* %p1 @@ -13,7 +13,7 @@ define i1 @test_load_i1(i1 * %p1) { define i8 @test_load_i8(i8 * %p1) { ; ALL-LABEL: test_load_i8: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movb (%rdi), %al ; ALL-NEXT: retq %r = load i8, i8* %p1 @@ -22,7 +22,7 @@ define i8 @test_load_i8(i8 * %p1) { define i16 @test_load_i16(i16 * %p1) { ; ALL-LABEL: test_load_i16: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movzwl (%rdi), %eax ; ALL-NEXT: retq %r = load i16, i16* %p1 @@ -31,7 +31,7 @@ define i16 @test_load_i16(i16 * %p1) { define i32 @test_load_i32(i32 * %p1) { ; ALL-LABEL: test_load_i32: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movl (%rdi), %eax ; ALL-NEXT: retq %r = load i32, i32* %p1 @@ -40,7 +40,7 @@ define i32 @test_load_i32(i32 * %p1) { define i64 @test_load_i64(i64 * %p1) { ; ALL-LABEL: test_load_i64: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movq (%rdi), %rax ; ALL-NEXT: retq %r = load i64, i64* %p1 @@ -49,13 +49,13 @@ define i64 @test_load_i64(i64 * %p1) { define float @test_load_float(float * %p1) { ; SSE-LABEL: test_load_float: -; SSE: # BB#0: +; SSE: # %bb.0: ; SSE-NEXT: movl (%rdi), %eax ; SSE-NEXT: movd %eax, %xmm0 ; SSE-NEXT: retq ; ; ALL-LABEL: test_load_float: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movl (%rdi), %eax ; ALL-NEXT: movd %eax, %xmm0 ; ALL-NEXT: retq @@ -65,13 +65,13 @@ define float @test_load_float(float * %p1) { define double @test_load_double(double * %p1) { ; SSE-LABEL: test_load_double: -; SSE: # BB#0: +; SSE: # %bb.0: ; SSE-NEXT: movq (%rdi), %rax ; SSE-NEXT: movq %rax, %xmm0 ; SSE-NEXT: retq ; ; ALL-LABEL: test_load_double: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movq (%rdi), %rax ; ALL-NEXT: movq %rax, %xmm0 ; ALL-NEXT: retq @@ -81,7 +81,7 @@ define double @test_load_double(double * %p1) { define i1 * @test_store_i1(i1 %val, i1 * %p1) { ; ALL-LABEL: test_store_i1: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: andb $1, %dil ; ALL-NEXT: movb %dil, (%rsi) ; ALL-NEXT: movq %rsi, %rax @@ -92,7 +92,7 @@ define i1 * @test_store_i1(i1 %val, i1 * %p1) { define i32 * @test_store_i32(i32 %val, i32 * %p1) { ; ALL-LABEL: test_store_i32: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movl %edi, (%rsi) ; ALL-NEXT: movq %rsi, %rax ; ALL-NEXT: retq @@ -102,7 +102,7 @@ define i32 * @test_store_i32(i32 %val, i32 * %p1) { define i64 * @test_store_i64(i64 %val, i64 * %p1) { ; ALL-LABEL: test_store_i64: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movq %rdi, (%rsi) ; ALL-NEXT: movq %rsi, %rax ; ALL-NEXT: retq @@ -113,14 +113,14 @@ define i64 * @test_store_i64(i64 %val, i64 * %p1) { define float * @test_store_float(float %val, float * %p1) { ; ; SSE_FAST-LABEL: test_store_float: -; SSE_FAST: # BB#0: +; SSE_FAST: # %bb.0: ; SSE_FAST-NEXT: movd %xmm0, %eax ; SSE_FAST-NEXT: movl %eax, (%rdi) ; SSE_FAST-NEXT: movq %rdi, %rax ; SSE_FAST-NEXT: retq ; ; SSE_GREEDY-LABEL: test_store_float: -; SSE_GREEDY: # BB#0: +; SSE_GREEDY: # %bb.0: ; SSE_GREEDY-NEXT: movss %xmm0, (%rdi) ; SSE_GREEDY-NEXT: movq %rdi, %rax ; SSE_GREEDY-NEXT: retq @@ -131,14 +131,14 @@ define float * @test_store_float(float %val, float * %p1) { define double * @test_store_double(double %val, double * %p1) { ; ; SSE_FAST-LABEL: test_store_double: -; SSE_FAST: # BB#0: +; SSE_FAST: # %bb.0: ; SSE_FAST-NEXT: movq %xmm0, %rax ; SSE_FAST-NEXT: movq %rax, (%rdi) ; SSE_FAST-NEXT: movq %rdi, %rax ; SSE_FAST-NEXT: retq ; ; SSE_GREEDY-LABEL: test_store_double: -; SSE_GREEDY: # BB#0: +; SSE_GREEDY: # %bb.0: ; SSE_GREEDY-NEXT: movsd %xmm0, (%rdi) ; SSE_GREEDY-NEXT: movq %rdi, %rax ; SSE_GREEDY-NEXT: retq @@ -148,7 +148,7 @@ define double * @test_store_double(double %val, double * %p1) { define i32* @test_load_ptr(i32** %ptr1) { ; ALL-LABEL: test_load_ptr: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movq (%rdi), %rax ; ALL-NEXT: retq %p = load i32*, i32** %ptr1 @@ -157,7 +157,7 @@ define i32* @test_load_ptr(i32** %ptr1) { define void @test_store_ptr(i32** %ptr1, i32* %a) { ; ALL-LABEL: test_store_ptr: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movq %rsi, (%rdi) ; ALL-NEXT: retq store i32* %a, i32** %ptr1 @@ -166,7 +166,7 @@ define void @test_store_ptr(i32** %ptr1, i32* %a) { define i32 @test_gep_folding(i32* %arr, i32 %val) { ; ALL-LABEL: test_gep_folding: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movl %esi, 20(%rdi) ; ALL-NEXT: movl 20(%rdi), %eax ; ALL-NEXT: retq @@ -179,7 +179,7 @@ define i32 @test_gep_folding(i32* %arr, i32 %val) { ; check that gep index doesn't folded into memory operand define i32 @test_gep_folding_largeGepIndex(i32* %arr, i32 %val) { ; ALL-LABEL: test_gep_folding_largeGepIndex: -; ALL: # BB#0: +; ALL: # %bb.0: ; ALL-NEXT: movabsq $228719476720, %rax # imm = 0x3540BE3FF0 ; ALL-NEXT: leaq (%rdi,%rax), %rax ; ALL-NEXT: movl %esi, (%rax) |
