diff options
Diffstat (limited to 'test/CodeGen/X86/movtopush.mir')
-rw-r--r-- | test/CodeGen/X86/movtopush.mir | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/test/CodeGen/X86/movtopush.mir b/test/CodeGen/X86/movtopush.mir index 95ba9490c31..4c1dfc57627 100644 --- a/test/CodeGen/X86/movtopush.mir +++ b/test/CodeGen/X86/movtopush.mir @@ -41,10 +41,10 @@ # CHECK-NEXT: CALLpcrel32 @good, csr_32, implicit %esp, implicit %ssp, implicit-def %esp, implicit-def %ssp # CHECK-NEXT: ADJCALLSTACKUP32 16, 0, implicit-def dead %esp, implicit-def dead %eflags, implicit-def dead %ssp, implicit %esp, implicit %ssp # CHECK-NEXT: ADJCALLSTACKDOWN32 20, 0, 20, implicit-def dead %esp, implicit-def dead %eflags, implicit-def dead %ssp, implicit %esp, implicit %ssp -# CHECK-NEXT: %1:gr32 = MOV32rm %stack.2.s, 1, _, 0, _ :: (load 4 from %stack.2.s, align 8) -# CHECK-NEXT: %2:gr32 = MOV32rm %stack.2.s, 1, _, 4, _ :: (load 4 from %stack.2.s + 4) -# CHECK-NEXT: %4:gr32 = LEA32r %stack.0.p, 1, _, 0, _ -# CHECK-NEXT: %5:gr32 = LEA32r %stack.1.q, 1, _, 0, _ +# CHECK-NEXT: %1:gr32 = MOV32rm %stack.2.s, 1, %noreg, 0, %noreg :: (load 4 from %stack.2.s, align 8) +# CHECK-NEXT: %2:gr32 = MOV32rm %stack.2.s, 1, %noreg, 4, %noreg :: (load 4 from %stack.2.s + 4) +# CHECK-NEXT: %4:gr32 = LEA32r %stack.0.p, 1, %noreg, 0, %noreg +# CHECK-NEXT: %5:gr32 = LEA32r %stack.1.q, 1, %noreg, 0, %noreg # CHECK-NEXT: PUSH32r %4, implicit-def %esp, implicit %esp # CHECK-NEXT: PUSH32r %5, implicit-def %esp, implicit %esp # CHECK-NEXT: PUSH32i8 6, implicit-def %esp, implicit %esp @@ -101,23 +101,23 @@ body: | bb.0.entry: ADJCALLSTACKDOWN32 16, 0, 0, implicit-def dead %esp, implicit-def dead %eflags, implicit-def dead %ssp, implicit %esp, implicit %ssp %0 = COPY %esp - MOV32mi %0, 1, _, 12, _, 4 :: (store 4 into stack + 12) - MOV32mi %0, 1, _, 8, _, 3 :: (store 4 into stack + 8) - MOV32mi %0, 1, _, 4, _, 2 :: (store 4 into stack + 4) - MOV32mi %0, 1, _, 0, _, 1 :: (store 4 into stack) + MOV32mi %0, 1, %noreg, 12, %noreg, 4 :: (store 4 into stack + 12) + MOV32mi %0, 1, %noreg, 8, %noreg, 3 :: (store 4 into stack + 8) + MOV32mi %0, 1, %noreg, 4, %noreg, 2 :: (store 4 into stack + 4) + MOV32mi %0, 1, %noreg, 0, %noreg, 1 :: (store 4 into stack) CALLpcrel32 @good, csr_32, implicit %esp, implicit %ssp, implicit-def %esp, implicit-def %ssp ADJCALLSTACKUP32 16, 0, implicit-def dead %esp, implicit-def dead %eflags, implicit-def dead %ssp, implicit %esp, implicit %ssp ADJCALLSTACKDOWN32 20, 0, 0, implicit-def dead %esp, implicit-def dead %eflags, implicit-def dead %ssp, implicit %esp, implicit %ssp - %1 = MOV32rm %stack.2.s, 1, _, 0, _ :: (load 4 from %stack.2.s, align 8) - %2 = MOV32rm %stack.2.s, 1, _, 4, _ :: (load 4 from %stack.2.s + 4) + %1 = MOV32rm %stack.2.s, 1, %noreg, 0, %noreg :: (load 4 from %stack.2.s, align 8) + %2 = MOV32rm %stack.2.s, 1, %noreg, 4, %noreg :: (load 4 from %stack.2.s + 4) %3 = COPY %esp - MOV32mr %3, 1, _, 4, _, killed %2 :: (store 4) - MOV32mr %3, 1, _, 0, _, killed %1 :: (store 4) - %4 = LEA32r %stack.0.p, 1, _, 0, _ - MOV32mr %3, 1, _, 16, _, killed %4 :: (store 4 into stack + 16) - %5 = LEA32r %stack.1.q, 1, _, 0, _ - MOV32mr %3, 1, _, 12, _, killed %5 :: (store 4 into stack + 12) - MOV32mi %3, 1, _, 8, _, 6 :: (store 4 into stack + 8) + MOV32mr %3, 1, %noreg, 4, %noreg, killed %2 :: (store 4) + MOV32mr %3, 1, %noreg, 0, %noreg, killed %1 :: (store 4) + %4 = LEA32r %stack.0.p, 1, %noreg, 0, %noreg + MOV32mr %3, 1, %noreg, 16, %noreg, killed %4 :: (store 4 into stack + 16) + %5 = LEA32r %stack.1.q, 1, %noreg, 0, %noreg + MOV32mr %3, 1, %noreg, 12, %noreg, killed %5 :: (store 4 into stack + 12) + MOV32mi %3, 1, %noreg, 8, %noreg, 6 :: (store 4 into stack + 8) CALLpcrel32 @struct, csr_32, implicit %esp, implicit %ssp, implicit-def %esp, implicit-def %ssp, ADJCALLSTACKUP32 20, 0, implicit-def dead %esp, implicit-def dead %eflags, implicit-def dead %ssp, implicit %esp, implicit %ssp RET 0 |