Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / Mips / end-directive.s
blobb2959409e661edd34b1cb69cc174f2080cfc8c4d
1 # RUN: llvm-mc -arch=mips -mcpu=mips32 -filetype=obj %s -o - | \
2 # RUN: llvm-readobj -symbols | FileCheck %s
4 # Check that the assembler doesn't choke on .align between a symbol and the
5 # .end directive.
7 .text
8 .globl a
9 .p2align 2
10 .type a,@function
11 .ent a
13 addu $2, $5, $4
14 .align 4
15 jr $ra
16 .end a
17 $func_end0:
18 .size a, ($func_end0)-a
20 # CHECK: Name: a
21 # CHECK-NEXT: Value: 0x0
22 # CHECK-NEXT: Size: 24