Skip to content

Commit 668c87d

Browse files
committed
add error encoding test
1 parent d972ba2 commit 668c87d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/test/MC/PowerPC/ppc64-errors.s

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
# RUN: not llvm-mc -triple powerpc64le-unknown-unknown < %s 2> %t
55
# RUN: FileCheck < %t %s
66

7+
# From ISAFuture
8+
9+
# CHECK: error: invalid operand for instruction
10+
paddis 10, 5, 1000000000, 1
11+
712
# From ISA31
813

914
# CHECK: error: invalid operand for instruction

0 commit comments

Comments
 (0)