[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / Windows / invalid-relocation.s
blobdb41570b062a2a7cf0fb44e25aab5850e5c6fe9b
1 # RUN: not --crash llvm-mc -triple thumbv7-windows -incremental-linker-compatible -filetype obj -o /dev/null 2>&1 %s \
2 # RUN: | FileCheck %s
4 .def invalid_relocation
5 .type 32
6 .scl 2
7 .endef
8 .global invalid_relocation
9 .thumb_func
10 adr r0, invalid_relocation+1
12 # CHECK: LLVM ERROR: unsupported relocation type: fixup_t2_adr_pcrel_12