[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / cmp-immediate-fixup2.s
blobde0941eac27300d8a3a044c7ff4b67e5cf4af9ba
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, #0
7 cmp r2, #(l2 - l1)
8 l1:
9 l2: