[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / cmp-immediate-fixup-error.s
blob25a2368643db3bf32da22c9ddd79987273128b49
1 @ RUN: not llvm-mc -triple=arm-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s
3 .text
4 cmp r0, #(l1 - unknownLabel + 4) >> 2
5 @ CHECK: error: expected relocatable expression
7 l1: