[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / cmp-immediate-fixup.s
blob0f1ba5e107c6a650cfcd5b20138aa11f5235e949
1 @ PR18931
2 @ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj -o - \
3 @ RUN: | llvm-objdump -d --arch=arm - | FileCheck %s
5 .text
6 @ CHECK: cmp r2, #1
7 cmp r2, #(l2 - l1 + 4) >> 2
8 l1:
9 l2: