[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / micromips64r6-unsupported.s
blobd2afff72aa71c5f1be891716131969917719e5ac
1 # RUN: not --crash llvm-mc -filetype=obj -triple=mips64-unknown-linux -mattr=+micromips \
2 # RUN: -mcpu=mips64r6 %s 2>&1 | FileCheck %s -check-prefix=CHECK-OPTION
3 # RUN: not llvm-mc -filetype=obj -triple=mips64-unknown-linux -mcpu=mips64r6 \
4 # RUN: %s 2>&1 | FileCheck %s -check-prefix=CHECK-MM-DIRECTIVE
5 # RUN: not llvm-mc -filetype=obj -triple=mips64-unknown-linux \
6 # RUN: %s 2>&1 | FileCheck %s -check-prefix=CHECK-DIRECTIVE
8 # CHECK-OPTION: LLVM ERROR: microMIPS64R6 is not supported
10 .set micromips
11 # CHECK-MM-DIRECTIVE: :[[@LINE-1]]:6: error: .set micromips directive is not supported with MIPS64R6
13 .set mips64r6
14 .set arch=mips64r6
15 # CHECK-DIRECTIVE: :[[@LINE-2]]:6: error: MIPS64R6 is not supported with microMIPS
16 # CHECK-DIRECTIVE: :[[@LINE-2]]:19: error: mips64r6 does not support microMIPS