[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / pr19582.s
blob551dbd59e212b59d561c9b6991dc5d73581b1314
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r - | FileCheck %s
3 a:
4 .section foo
5 c = b
6 b:
7 // CHECK: 0x0 R_X86_64_PC32 .text 0x0
8 .long a - c