[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / RISCV / fixups-invalid.s
blob55ced21e1c9d36a1938849b659bfa9004e66ac91
1 # RUN: not llvm-mc -filetype=obj %s -triple=riscv32 -o /dev/null 2>&1 \
2 # RUN: | FileCheck %s
3 # RUN: not llvm-mc -filetype=obj %s -triple=riscv64 -o /dev/null 2>&1 \
4 # RUN: | FileCheck %s
6 .byte foo # CHECK: [[@LINE]]:7: error: 1-byte data relocations not supported
7 .2byte foo # CHECK: [[@LINE]]:8: error: 2-byte data relocations not supported