]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/PowerPC/pr38945.s
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / MC / PowerPC / pr38945.s
1 // RUN: llvm-mc -triple=powerpc64-pc-linux %s -o - | FileCheck %s
2
3 NUMBER = 0x6ffffff9
4
5         .text
6 .globl  main
7 main:
8         cmpwi   8,(NUMBER)@l
9         cmpwi   8,-(NUMBER)@l
10         cmpwi   8,(-NUMBER)@l
11         cmpwi   8,NUMBER@l
12         cmpwi   8,-NUMBER@l
13
14
15 // CHECK: main:
16 // CHECK: cmpwi 8, -7
17 // CHECK: cmpwi 8, 7
18 // CHECK: cmpwi 8, 7
19 // CHECK: cmpwi 8, -7
20 // CHECK: cmpwi 8, 7
21