[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Sparc / sparc-directive-xword.s
blob736f99fbce744f690df21de18a500213bdc0a5c3
1 ! RUN: not llvm-mc %s -arch=sparc -show-encoding 2>&1 | FileCheck %s --check-prefix=SPARC32
2 ! RUN: llvm-mc %s -triple sparc64 -show-encoding | FileCheck %s --check-prefix=SPARC64
3 ! RUN: llvm-mc %s -triple sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARCV9
5 ! SPARC32: error: unknown directive
6 ! SPARC32-NEXT: .xword 65536
7 ! SPARC32-NEXT: ^
9 ! SPARC64: .xword 65536
10 .xword 65536
12 ! SPARCV9: .xword 65536
13 .xword 65536