[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / micromips-alias.s
blob0a6a586f7ce385a62b0df4f646e6a8eb9b3b91f3
1 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
2 # RUN: | llvm-readobj --symbols - | FileCheck %s
4 # Symbol bar must be marked as micromips.
5 # CHECK: Name: bar
6 # CHECK: Other [ (0x80)
7 .align 2
8 .type f,@function
9 .set nomips16
10 .set micromips
12 nop
13 .set nomicromips
14 nop
15 .globl bar
16 bar = f
18 # CHECK: Name: foo
19 # CHECK: Other [ (0x80)
20 .type o,@object
21 .set micromips
23 .insn
24 .word 0x00000000
25 .set nomicromips
27 .globl foo
28 foo = o