[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / micromips-neg-offset.s
blobe821474c35a5bcaed7bc75c8ff48a9878b2d064a
1 # Check decoding beqz instruction with a negative offset
3 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \
4 # RUN: -mattr=micromips -mcpu=mips32r6 %s -o - \
5 # RUN: | llvm-objdump -d --mattr=micromips - | FileCheck %s
7 # CHECK: 0: 8f 7e beqzc16 $6, -4
8 # CHECK: 2: cf fe bc16 -4
9 # CHECK: 4: b7 ff ff fe balc -4
11 beqz16 $6, -4
12 b16 -4
13 balc -4