Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / MC / Sparc / sparc-asm-errors.s
blob655fd15e3962f91b730df0e82bf911c203e4ef50
1 ! RUN: not llvm-mc %s -triple=sparc -show-encoding 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=V8
2 ! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefix=CHECK --check-prefix=V9
4 ! Test the lower and upper bounds of 'set'
5 ! CHECK: argument must be between
6 set -2147483649, %o1
7 ! CHECK: argument must be between
8 set 4294967296, %o1
10 ! V8: instruction requires a CPU feature not currently enabled
11 ! V9: unknown membar tag
12 membar #BadTag
14 ! V8: instruction requires a CPU feature not currently enabled
15 ! V9: invalid membar mask number
16 membar -127
18 ! Test the boundary checks on the shift amount
19 ! V8: immediate shift value out of range
20 sll %g1, 32, %g2
21 ! V9: immediate shift value out of range
22 slx %g1, 64, %g2