[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / VE / LVL.s
blob50eec02d5ad328d4ac3f27430a9bc584ec77c973
1 # RUN: llvm-mc -triple=ve --show-encoding < %s \
2 # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4 # RUN: | FileCheck %s --check-prefixes=CHECK-INST
6 # CHECK-INST: lvl %s11
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x8b,0x00,0xbf]
8 lvl %s11
10 # CHECK-INST: lvl 63
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0xbf]
12 lvl 63
14 # CHECK-INST: lvl -64
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x40,0x00,0xbf]
16 lvl -64