[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / virt / module-virt.s
blob1fb035df8783f6ee66fa853ccd58e62ce2894084
1 # RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r5 | \
2 # RUN: FileCheck %s -check-prefix=CHECK-ASM
4 # RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r5 \
5 # RUN: -filetype=obj -o - | \
6 # RUN: llvm-readobj -A - | \
7 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
9 # CHECK-ASM: .module virt
11 # Check if the MIPS.abiflags section was correctly emitted:
12 # CHECK-OBJ: MIPS ABI Flags {
13 # CHECK-OBJ: ASEs [ (0x100)
14 # CHECK-OBJ: VZ (0x100)
15 # CHECK-OBJ: }
17 .module virt
18 hypcall
20 # FIXME: Test should include gnu_attributes directive when implemented.
21 # An explicit .gnu_attribute must be checked against the effective
22 # command line options and any inconsistencies reported via a warning.