[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / set-defined-symbol.s
blob061fec37bb2126459fdc9800c9b8c3e7fb4c0f8a
1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
2 # RUN: llvm-objdump -d -r - | FileCheck %s
4 .global foo
5 .weak bar
6 .set bar, b
7 .set foo, b
8 .set foo, a
9 a:
10 nop
11 # CHECK-NOT: a:
12 # CHECK: <foo>:
15 nop
16 # CHECK-NOT: b:
17 # CHECK-NOT: foo:
18 # CHECK: <bar>: