[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / private-prefix.s
blobc2f295ac5920bf9cad883376fae239ad3343d282
1 # RUN: llvm-mc %s -triple=mips --target-abi=o32 | FileCheck %s --check-prefix=O32
2 # RUN: llvm-mc %s -triple=mips --target-abi=n32 | FileCheck %s --check-prefix=N32
3 # RUN: llvm-mc %s -triple=mips --target-abi=n64 | FileCheck %s --check-prefix=N64
4 # RUN: llvm-mc %s -triple=mips64 --target-abi=o32 | FileCheck %s --check-prefix=O32
5 # RUN: llvm-mc %s -triple=mips64 --target-abi=n32 | FileCheck %s --check-prefix=N32
6 # RUN: llvm-mc %s -triple=mips64 --target-abi=n64 | FileCheck %s --check-prefix=N64
7 # RUN: llvm-mc %s -triple=mips | FileCheck %s --check-prefix=O32
8 # RUN: llvm-mc %s -triple=mips-gnu | FileCheck %s --check-prefix=O32
9 # RUN: llvm-mc %s -triple=mips-gnuabin32 | FileCheck %s --check-prefix=N32
10 # RUN: llvm-mc %s -triple=mips-gnuabi64 | FileCheck %s --check-prefix=O32
11 # RUN: llvm-mc %s -triple=mips64 | FileCheck %s --check-prefix=N64
12 # RUN: llvm-mc %s -triple=mips64-gnu | FileCheck %s --check-prefix=N64
13 # RUN: llvm-mc %s -triple=mips64-gnuabin32 | FileCheck %s --check-prefix=N32
14 # RUN: llvm-mc %s -triple=mips64-gnuabi64 | FileCheck %s --check-prefix=N64
16 # Checks if correct private global and label prefixes are used based on target
17 # options.
19 # O32: $tmp0:
20 # N32: .Ltmp0:
21 # N64: .Ltmp0:
22 li.d $4, 1.12345