diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-21 08:53:17 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-21 08:53:17 +0000 |
commit | af2a1bebfcef3e3767ef3875957c986e087dd0e8 (patch) | |
tree | 7db53aace88819e5a0fee5b3840005e3ccaf1293 | |
parent | f19b8b018be4b0478f741bf35287db3488fda8d6 (diff) | |
download | external_llvm-af2a1bebfcef3e3767ef3875957c986e087dd0e8.zip external_llvm-af2a1bebfcef3e3767ef3875957c986e087dd0e8.tar.gz external_llvm-af2a1bebfcef3e3767ef3875957c986e087dd0e8.tar.bz2 |
[SystemZ] Tighten branch tests
After r182274, the branches in these tests must always be short.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182358 91177308-0d34-0410-b5e6-96231b3b80d8
85 files changed, 442 insertions, 442 deletions
diff --git a/test/CodeGen/SystemZ/atomic-store-03.ll b/test/CodeGen/SystemZ/atomic-store-03.ll index 6e29963..cbf1e51 100644 --- a/test/CodeGen/SystemZ/atomic-store-03.ll +++ b/test/CodeGen/SystemZ/atomic-store-03.ll @@ -9,7 +9,7 @@ define void @f1(i32 %val, i32 *%src) { ; CHECK: l %r0, 0(%r3) ; CHECK: [[LABEL:\.[^:]*]]: ; CHECK: cs %r0, %r2, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 store atomic i32 %val, i32 *%src seq_cst, align 4 ret void diff --git a/test/CodeGen/SystemZ/atomic-store-04.ll b/test/CodeGen/SystemZ/atomic-store-04.ll index 7a611c8..a2d83c5 100644 --- a/test/CodeGen/SystemZ/atomic-store-04.ll +++ b/test/CodeGen/SystemZ/atomic-store-04.ll @@ -9,7 +9,7 @@ define void @f1(i64 %val, i64 *%src) { ; CHECK: lg %r0, 0(%r3) ; CHECK: [[LABEL:\.[^:]*]]: ; CHECK: csg %r0, %r2, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 store atomic i64 %val, i64 *%src seq_cst, align 8 ret void diff --git a/test/CodeGen/SystemZ/atomicrmw-add-01.ll b/test/CodeGen/SystemZ/atomicrmw-add-01.ll index 2a84857..615b292 100644 --- a/test/CodeGen/SystemZ/atomicrmw-add-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-add-01.ll @@ -22,7 +22,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: ar [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i8 @f2(i8 *%src) { ; CHECK: afi [[ROT]], -2147483648 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-add-02.ll b/test/CodeGen/SystemZ/atomicrmw-add-02.ll index 3dd482d..95fb02a 100644 --- a/test/CodeGen/SystemZ/atomicrmw-add-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-add-02.ll @@ -22,7 +22,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: ar [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i16 @f2(i16 *%src) { ; CHECK: afi [[ROT]], -2147483648 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-add-03.ll b/test/CodeGen/SystemZ/atomicrmw-add-03.ll index 01eb8e0..e319057 100644 --- a/test/CodeGen/SystemZ/atomicrmw-add-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-add-03.ll @@ -10,7 +10,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: lr %r0, %r2 ; CHECK: ar %r0, %r4 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw add i32 *%src, i32 %b seq_cst ret i32 %res @@ -24,7 +24,7 @@ define i32 @f2(i32 %dummy, i32 *%src) { ; CHECK: lr %r0, %r2 ; CHECK: ahi %r0, 1 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw add i32 *%src, i32 1 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-add-04.ll b/test/CodeGen/SystemZ/atomicrmw-add-04.ll index 6b1d20b..b2cbaca 100644 --- a/test/CodeGen/SystemZ/atomicrmw-add-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-add-04.ll @@ -10,7 +10,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lgr %r0, %r2 ; CHECK: agr %r0, %r4 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw add i64 *%src, i64 %b seq_cst ret i64 %res @@ -24,7 +24,7 @@ define i64 @f2(i64 %dummy, i64 *%src) { ; CHECK: lgr %r0, %r2 ; CHECK: aghi %r0, 1 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw add i64 *%src, i64 1 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-and-01.ll b/test/CodeGen/SystemZ/atomicrmw-and-01.ll index ebbce8e..6d66df3 100644 --- a/test/CodeGen/SystemZ/atomicrmw-and-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-and-01.ll @@ -22,7 +22,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: nr [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -57,7 +57,7 @@ define i8 @f2(i8 *%src) { ; CHECK: nilh [[ROT]], 33023 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-and-02.ll b/test/CodeGen/SystemZ/atomicrmw-and-02.ll index b63ca4a..76e33bb 100644 --- a/test/CodeGen/SystemZ/atomicrmw-and-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-and-02.ll @@ -22,7 +22,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: nr [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -57,7 +57,7 @@ define i16 @f2(i16 *%src) { ; CHECK: nilh [[ROT]], 32768 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-and-03.ll b/test/CodeGen/SystemZ/atomicrmw-and-03.ll index ec69edc..8449a7c 100644 --- a/test/CodeGen/SystemZ/atomicrmw-and-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-and-03.ll @@ -10,7 +10,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: lr %r0, %r2 ; CHECK: nr %r0, %r4 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw and i32 *%src, i32 %b seq_cst ret i32 %res @@ -24,7 +24,7 @@ define i32 @f2(i32 %dummy, i32 *%src) { ; CHECK: lr %r0, %r2 ; CHECK: nilf %r0, 1 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw and i32 *%src, i32 1 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-and-04.ll b/test/CodeGen/SystemZ/atomicrmw-and-04.ll index 71f29ba..ade7617 100644 --- a/test/CodeGen/SystemZ/atomicrmw-and-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-and-04.ll @@ -10,7 +10,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lgr %r0, %r2 ; CHECK: ngr %r0, %r4 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw and i64 *%src, i64 %b seq_cst ret i64 %res @@ -33,7 +33,7 @@ define i64 @f3(i64 %dummy, i64 *%src) { ; CHECK: lgr %r0, %r2 ; CHECK: nihf %r0, 0 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw and i64 *%src, i64 4294967295 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-minmax-01.ll b/test/CodeGen/SystemZ/atomicrmw-minmax-01.ll index c6ec77e..83d6156 100644 --- a/test/CodeGen/SystemZ/atomicrmw-minmax-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-minmax-01.ll @@ -20,12 +20,12 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: cr [[ROT]], %r3 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 39, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -57,12 +57,12 @@ define i8 @f2(i8 *%src, i8 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: cr [[ROT]], %r3 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 39, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -94,12 +94,12 @@ define i8 @f3(i8 *%src, i8 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: clr [[ROT]], %r3 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 39, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -131,12 +131,12 @@ define i8 @f4(i8 *%src, i8 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: clr [[ROT]], %r3 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 39, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-minmax-02.ll b/test/CodeGen/SystemZ/atomicrmw-minmax-02.ll index 9612e99..27dc3e9 100644 --- a/test/CodeGen/SystemZ/atomicrmw-minmax-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-minmax-02.ll @@ -20,12 +20,12 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: cr [[ROT]], %r3 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 47, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -57,12 +57,12 @@ define i16 @f2(i16 *%src, i16 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: cr [[ROT]], %r3 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 47, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -94,12 +94,12 @@ define i16 @f3(i16 *%src, i16 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: clr [[ROT]], %r3 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 47, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -131,12 +131,12 @@ define i16 @f4(i16 *%src, i16 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: rll [[ROT:%r[0-9]+]], [[OLD]], 0([[SHIFT]]) ; CHECK: clr [[ROT]], %r3 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: risbg [[ROT]], %r3, 32, 47, 0 ; CHECK: [[KEEP]]: ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll b/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll index b5809bd..53d0e73 100644 --- a/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll @@ -9,10 +9,10 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: cr %r2, %r4 ; CHECK: lr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: lr [[NEW]], %r4 ; CHECK: cs %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw min i32 *%src, i32 %b seq_cst ret i32 %res @@ -25,10 +25,10 @@ define i32 @f2(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: cr %r2, %r4 ; CHECK: lr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: lr [[NEW]], %r4 ; CHECK: cs %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw max i32 *%src, i32 %b seq_cst ret i32 %res @@ -41,10 +41,10 @@ define i32 @f3(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: clr %r2, %r4 ; CHECK: lr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: lr [[NEW]], %r4 ; CHECK: cs %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw umin i32 *%src, i32 %b seq_cst ret i32 %res @@ -57,10 +57,10 @@ define i32 @f4(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: clr %r2, %r4 ; CHECK: lr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: lr [[NEW]], %r4 ; CHECK: cs %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw umax i32 *%src, i32 %b seq_cst ret i32 %res @@ -166,10 +166,10 @@ define i32 @f13(i32 %dummy, i32 *%ptr) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: cr %r2, [[LIMIT]] ; CHECK: lr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: lr [[NEW]], [[LIMIT]] ; CHECK: cs %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw min i32 *%ptr, i32 42 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll b/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll index 6897854..d772331 100644 --- a/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll @@ -9,10 +9,10 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: cgr %r2, %r4 ; CHECK: lgr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: lgr [[NEW]], %r4 ; CHECK: csg %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw min i64 *%src, i64 %b seq_cst ret i64 %res @@ -25,10 +25,10 @@ define i64 @f2(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: cgr %r2, %r4 ; CHECK: lgr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: lgr [[NEW]], %r4 ; CHECK: csg %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw max i64 *%src, i64 %b seq_cst ret i64 %res @@ -41,10 +41,10 @@ define i64 @f3(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: clgr %r2, %r4 ; CHECK: lgr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: lgr [[NEW]], %r4 ; CHECK: csg %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw umin i64 *%src, i64 %b seq_cst ret i64 %res @@ -57,10 +57,10 @@ define i64 @f4(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: clgr %r2, %r4 ; CHECK: lgr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}he [[KEEP:\..*]] +; CHECK: jhe [[KEEP:\..*]] ; CHECK: lgr [[NEW]], %r4 ; CHECK: csg %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw umax i64 *%src, i64 %b seq_cst ret i64 %res @@ -133,10 +133,10 @@ define i64 @f10(i64 %dummy, i64 *%ptr) { ; CHECK: [[LOOP:\.[^:]*]]: ; CHECK: cgr %r2, [[LIMIT]] ; CHECK: lgr [[NEW:%r[0-9]+]], %r2 -; CHECK: j{{g?}}le [[KEEP:\..*]] +; CHECK: jle [[KEEP:\..*]] ; CHECK: lgr [[NEW]], [[LIMIT]] ; CHECK: csg %r2, [[NEW]], 0(%r3) -; CHECK: j{{g?}}lh [[LOOP]] +; CHECK: jlh [[LOOP]] ; CHECK: br %r14 %res = atomicrmw min i64 *%ptr, i64 42 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-nand-01.ll b/test/CodeGen/SystemZ/atomicrmw-nand-01.ll index 1ede3b4..b5f2c10 100644 --- a/test/CodeGen/SystemZ/atomicrmw-nand-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-nand-01.ll @@ -23,7 +23,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: xilf [[ROT]], 4278190080 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -59,7 +59,7 @@ define i8 @f2(i8 *%src) { ; CHECK: xilf [[ROT]], 4278190080 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-nand-02.ll b/test/CodeGen/SystemZ/atomicrmw-nand-02.ll index d5cf864..7a37a38 100644 --- a/test/CodeGen/SystemZ/atomicrmw-nand-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-nand-02.ll @@ -23,7 +23,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: xilf [[ROT]], 4294901760 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -59,7 +59,7 @@ define i16 @f2(i16 *%src) { ; CHECK: xilf [[ROT]], 4294901760 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-nand-03.ll b/test/CodeGen/SystemZ/atomicrmw-nand-03.ll index cc2a086..56c2416 100644 --- a/test/CodeGen/SystemZ/atomicrmw-nand-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-nand-03.ll @@ -11,7 +11,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: nr %r0, %r4 ; CHECK: xilf %r0, 4294967295 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw nand i32 *%src, i32 %b seq_cst ret i32 %res @@ -26,7 +26,7 @@ define i32 @f2(i32 %dummy, i32 *%src) { ; CHECK: nilf %r0, 1 ; CHECK: xilf %r0, 4294967295 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw nand i32 *%src, i32 1 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-nand-04.ll b/test/CodeGen/SystemZ/atomicrmw-nand-04.ll index 0c857d9..dee661c 100644 --- a/test/CodeGen/SystemZ/atomicrmw-nand-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-nand-04.ll @@ -12,7 +12,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lcgr %r0, %r0 ; CHECK: aghi %r0, -1 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw nand i64 *%src, i64 %b seq_cst ret i64 %res @@ -37,7 +37,7 @@ define i64 @f3(i64 %dummy, i64 *%src) { ; CHECK: lcgr %r0, %r0 ; CHECK: aghi %r0, -1 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw nand i64 *%src, i64 4294967295 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-or-01.ll b/test/CodeGen/SystemZ/atomicrmw-or-01.ll index 31303b7..f0313d6 100644 --- a/test/CodeGen/SystemZ/atomicrmw-or-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-or-01.ll @@ -22,7 +22,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: or [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i8 @f2(i8 *%src) { ; CHECK: oilh [[ROT]], 32768 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-or-02.ll b/test/CodeGen/SystemZ/atomicrmw-or-02.ll index 9880d0b..5c3f286 100644 --- a/test/CodeGen/SystemZ/atomicrmw-or-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-or-02.ll @@ -22,7 +22,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: or [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i16 @f2(i16 *%src) { ; CHECK: oilh [[ROT]], 32768 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-or-03.ll b/test/CodeGen/SystemZ/atomicrmw-or-03.ll index 33fd21b..1def200 100644 --- a/test/CodeGen/SystemZ/atomicrmw-or-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-or-03.ll @@ -10,7 +10,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: lr %r0, %r2 ; CHECK: or %r0, %r4 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw or i32 *%src, i32 %b seq_cst ret i32 %res @@ -24,7 +24,7 @@ define i32 @f2(i32 %dummy, i32 *%src) { ; CHECK: lr %r0, %r2 ; CHECK: oill %r0, 1 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw or i32 *%src, i32 1 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-or-04.ll b/test/CodeGen/SystemZ/atomicrmw-or-04.ll index a74f6f9..be0b23c 100644 --- a/test/CodeGen/SystemZ/atomicrmw-or-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-or-04.ll @@ -10,7 +10,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lgr %r0, %r2 ; CHECK: ogr %r0, %r4 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw or i64 *%src, i64 %b seq_cst ret i64 %res @@ -24,7 +24,7 @@ define i64 @f2(i64 %dummy, i64 *%src) { ; CHECK: lgr %r0, %r2 ; CHECK: oill %r0, 1 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw or i64 *%src, i64 1 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-sub-01.ll b/test/CodeGen/SystemZ/atomicrmw-sub-01.ll index d073dc5..31cbdf5 100644 --- a/test/CodeGen/SystemZ/atomicrmw-sub-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-sub-01.ll @@ -22,7 +22,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: sr [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i8 @f2(i8 *%src) { ; CHECK: afi [[ROT]], -2147483648 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-sub-02.ll b/test/CodeGen/SystemZ/atomicrmw-sub-02.ll index 449d92f..f72bf4a 100644 --- a/test/CodeGen/SystemZ/atomicrmw-sub-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-sub-02.ll @@ -22,7 +22,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: sr [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i16 @f2(i16 *%src) { ; CHECK: afi [[ROT]], -2147483648 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-sub-03.ll b/test/CodeGen/SystemZ/atomicrmw-sub-03.ll index da07fb5..c2821ad 100644 --- a/test/CodeGen/SystemZ/atomicrmw-sub-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-sub-03.ll @@ -10,7 +10,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: lr %r0, %r2 ; CHECK: sr %r0, %r4 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw sub i32 *%src, i32 %b seq_cst ret i32 %res @@ -24,7 +24,7 @@ define i32 @f2(i32 %dummy, i32 *%src) { ; CHECK: lr %r0, %r2 ; CHECK: ahi %r0, -1 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw sub i32 *%src, i32 1 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-sub-04.ll b/test/CodeGen/SystemZ/atomicrmw-sub-04.ll index 26f75af..6b3e1c9 100644 --- a/test/CodeGen/SystemZ/atomicrmw-sub-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-sub-04.ll @@ -10,7 +10,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lgr %r0, %r2 ; CHECK: sgr %r0, %r4 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw sub i64 *%src, i64 %b seq_cst ret i64 %res @@ -24,7 +24,7 @@ define i64 @f2(i64 %dummy, i64 *%src) { ; CHECK: lgr %r0, %r2 ; CHECK: aghi %r0, -1 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw sub i64 *%src, i64 1 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-xchg-01.ll b/test/CodeGen/SystemZ/atomicrmw-xchg-01.ll index e33597b..502fa2f 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xchg-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xchg-01.ll @@ -20,7 +20,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: risbg [[ROT]], %r3, 32, 39, 24 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll b/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll index 31f8026..55ede41 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll @@ -20,7 +20,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: risbg [[ROT]], %r3, 32, 47, 16 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-xchg-03.ll b/test/CodeGen/SystemZ/atomicrmw-xchg-03.ll index 37581ab..4a48826 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xchg-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xchg-03.ll @@ -8,7 +8,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: l %r2, 0(%r3) ; CHECK: [[LABEL:\.[^:]*]]: ; CHECK: cs %r2, %r4, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xchg i32 *%src, i32 %b seq_cst ret i32 %res @@ -114,7 +114,7 @@ define i32 @f10(i32 %dummy, i32 *%src) { ; CHECK: l %r2, 0(%r3) ; CHECK: [[LABEL:\.[^:]*]]: ; CHECK: cs %r2, [[VALUE]], 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xchg i32 *%src, i32 40000 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-xchg-04.ll b/test/CodeGen/SystemZ/atomicrmw-xchg-04.ll index a68295e..ac1f6cd 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xchg-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xchg-04.ll @@ -8,7 +8,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lg %r2, 0(%r3) ; CHECK: [[LABEL:\.[^:]*]]: ; CHECK: csg %r2, %r4, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xchg i64 *%src, i64 %b seq_cst ret i64 %res @@ -81,7 +81,7 @@ define i64 @f7(i64 %dummy, i64 *%ptr) { ; CHECK: lg %r2, 0(%r3) ; CHECK: [[LABEL:\.[^:]*]]: ; CHECK: csg %r2, [[VALUE]], 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xchg i64 *%ptr, i64 3000000000 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-xor-01.ll b/test/CodeGen/SystemZ/atomicrmw-xor-01.ll index 13cdf02..4801e80 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xor-01.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xor-01.ll @@ -22,7 +22,7 @@ define i8 @f1(i8 *%src, i8 %b) { ; CHECK: xr [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i8 @f2(i8 *%src) { ; CHECK: xilf [[ROT]], 2147483648 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-xor-02.ll b/test/CodeGen/SystemZ/atomicrmw-xor-02.ll index 4faa64f..7a525a8 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xor-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xor-02.ll @@ -22,7 +22,7 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: xr [[ROT]], %r3 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; @@ -56,7 +56,7 @@ define i16 @f2(i16 *%src) { ; CHECK: xilf [[ROT]], 2147483648 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0([[NEGSHIFT:%r[1-9]+]]) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; diff --git a/test/CodeGen/SystemZ/atomicrmw-xor-03.ll b/test/CodeGen/SystemZ/atomicrmw-xor-03.ll index 23884f8..0c19515 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xor-03.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xor-03.ll @@ -10,7 +10,7 @@ define i32 @f1(i32 %dummy, i32 *%src, i32 %b) { ; CHECK: lr %r0, %r2 ; CHECK: xr %r0, %r4 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xor i32 *%src, i32 %b seq_cst ret i32 %res @@ -24,7 +24,7 @@ define i32 @f2(i32 %dummy, i32 *%src) { ; CHECK: lr %r0, %r2 ; CHECK: xilf %r0, 1 ; CHECK: cs %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xor i32 *%src, i32 1 seq_cst ret i32 %res diff --git a/test/CodeGen/SystemZ/atomicrmw-xor-04.ll b/test/CodeGen/SystemZ/atomicrmw-xor-04.ll index 21130fb..6487b88 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xor-04.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xor-04.ll @@ -10,7 +10,7 @@ define i64 @f1(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: lgr %r0, %r2 ; CHECK: xgr %r0, %r4 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xor i64 *%src, i64 %b seq_cst ret i64 %res @@ -24,7 +24,7 @@ define i64 @f2(i64 %dummy, i64 *%src) { ; CHECK: lgr %r0, %r2 ; CHECK: xilf %r0, 1 ; CHECK: csg %r2, %r0, 0(%r3) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jlh [[LABEL]] ; CHECK: br %r14 %res = atomicrmw xor i64 *%src, i64 1 seq_cst ret i64 %res diff --git a/test/CodeGen/SystemZ/branch-01.ll b/test/CodeGen/SystemZ/branch-01.ll index 8ff91ac..f201ddd 100644 --- a/test/CodeGen/SystemZ/branch-01.ll +++ b/test/CodeGen/SystemZ/branch-01.ll @@ -6,7 +6,7 @@ define void @f1(i8 *%dest) { ; CHECK: f1: ; CHECK: .L[[LABEL:.*]]: ; CHECK: mvi 0(%r2), 1 -; CHECK: j{{g?}} .L[[LABEL]] +; CHECK: j .L[[LABEL]] br label %loop loop: store volatile i8 1, i8 *%dest diff --git a/test/CodeGen/SystemZ/branch-02.ll b/test/CodeGen/SystemZ/branch-02.ll index cde9b56..9365f16 100644 --- a/test/CodeGen/SystemZ/branch-02.ll +++ b/test/CodeGen/SystemZ/branch-02.ll @@ -8,7 +8,7 @@ define void @f1(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: c %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}e .L[[LABEL]] +; CHECK-NEXT: je .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -23,7 +23,7 @@ define void @f2(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: c %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}lh .L[[LABEL]] +; CHECK-NEXT: jlh .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -38,7 +38,7 @@ define void @f3(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: c %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}le .L[[LABEL]] +; CHECK-NEXT: jle .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -53,7 +53,7 @@ define void @f4(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: c %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}l .L[[LABEL]] +; CHECK-NEXT: jl .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -68,7 +68,7 @@ define void @f5(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: c %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}h .L[[LABEL]] +; CHECK-NEXT: jh .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -83,7 +83,7 @@ define void @f6(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: c %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}he .L[[LABEL]] +; CHECK-NEXT: jhe .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src diff --git a/test/CodeGen/SystemZ/branch-03.ll b/test/CodeGen/SystemZ/branch-03.ll index 1e447d0..9d00f6e 100644 --- a/test/CodeGen/SystemZ/branch-03.ll +++ b/test/CodeGen/SystemZ/branch-03.ll @@ -7,7 +7,7 @@ define void @f1(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: cl %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}le .L[[LABEL]] +; CHECK-NEXT: jle .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -22,7 +22,7 @@ define void @f2(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: cl %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}l .L[[LABEL]] +; CHECK-NEXT: jl .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -37,7 +37,7 @@ define void @f3(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: cl %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}h .L[[LABEL]] +; CHECK-NEXT: jh .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src @@ -52,7 +52,7 @@ define void @f4(i32 *%src, i32 %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: cl %r3, 0(%r2) -; CHECK-NEXT: j{{g?}}he .L[[LABEL]] +; CHECK-NEXT: jhe .L[[LABEL]] br label %loop loop: %val = load volatile i32 *%src diff --git a/test/CodeGen/SystemZ/branch-04.ll b/test/CodeGen/SystemZ/branch-04.ll index 3d41750..d6826fb 100644 --- a/test/CodeGen/SystemZ/branch-04.ll +++ b/test/CodeGen/SystemZ/branch-04.ll @@ -8,7 +8,7 @@ define void @f1(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}e .L[[LABEL]] +; CHECK-NEXT: je .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -23,7 +23,7 @@ define void @f2(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}lh .L[[LABEL]] +; CHECK-NEXT: jlh .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -38,7 +38,7 @@ define void @f3(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}le .L[[LABEL]] +; CHECK-NEXT: jle .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -53,7 +53,7 @@ define void @f4(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}l .L[[LABEL]] +; CHECK-NEXT: jl .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -68,7 +68,7 @@ define void @f5(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}h .L[[LABEL]] +; CHECK-NEXT: jh .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -83,7 +83,7 @@ define void @f6(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}he .L[[LABEL]] +; CHECK-NEXT: jhe .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -98,7 +98,7 @@ define void @f7(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}nlh .L[[LABEL]] +; CHECK-NEXT: jnlh .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -113,7 +113,7 @@ define void @f8(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}ne .L[[LABEL]] +; CHECK-NEXT: jne .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -128,7 +128,7 @@ define void @f9(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}nh .L[[LABEL]] +; CHECK-NEXT: jnh .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -143,7 +143,7 @@ define void @f10(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}nhe .L[[LABEL]] +; CHECK-NEXT: jnhe .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -158,7 +158,7 @@ define void @f11(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}nle .L[[LABEL]] +; CHECK-NEXT: jnle .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -173,7 +173,7 @@ define void @f12(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}nl .L[[LABEL]] +; CHECK-NEXT: jnl .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -190,7 +190,7 @@ define void @f13(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}no .L[[LABEL]] +; CHECK-NEXT: jno .L[[LABEL]] br label %loop loop: %val = load volatile float *%src @@ -207,7 +207,7 @@ define void @f14(float *%src, float %target) { ; CHECK: .cfi_startproc ; CHECK: .L[[LABEL:.*]]: ; CHECK: ceb %f0, 0(%r2) -; CHECK-NEXT: j{{g?}}o .L[[LABEL]] +; CHECK-NEXT: jo .L[[LABEL]] br label %loop loop: %val = load volatile float *%src diff --git a/test/CodeGen/SystemZ/branch-05.ll b/test/CodeGen/SystemZ/branch-05.ll index 4c6b96f..268692a 100644 --- a/test/CodeGen/SystemZ/branch-05.ll +++ b/test/CodeGen/SystemZ/branch-05.ll @@ -6,7 +6,7 @@ define i32 @f1(i32 %x, i32 %y, i32 %op) { ; CHECK: f1: ; CHECK: ahi %r4, -1 ; CHECK: clfi %r4, 5 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: llgfr [[OP64:%r[0-5]]], %r4 ; CHECK: sllg [[INDEX:%r[1-5]]], [[OP64]], 3 ; CHECK: larl [[BASE:%r[1-5]]] diff --git a/test/CodeGen/SystemZ/cmpxchg-01.ll b/test/CodeGen/SystemZ/cmpxchg-01.ll index 477bcb0..e848861 100644 --- a/test/CodeGen/SystemZ/cmpxchg-01.ll +++ b/test/CodeGen/SystemZ/cmpxchg-01.ll @@ -19,11 +19,11 @@ define i8 @f1(i8 %dummy, i8 *%src, i8 %cmp, i8 %swap) { ; CHECK-MAIN: rll %r2, [[OLD]], 8([[SHIFT]]) ; CHECK-MAIN: risbg %r4, %r2, 32, 55, 0 ; CHECK-MAIN: cr %r2, %r4 -; CHECK-MAIN: j{{g?}}lh [[EXIT:\.[^ ]*]] +; CHECK-MAIN: jlh [[EXIT:\.[^ ]*]] ; CHECK-MAIN: risbg %r5, %r2, 32, 55, 0 ; CHECK-MAIN: rll [[NEW:%r[0-9]+]], %r5, -8({{%r[1-9]+}}) ; CHECK-MAIN: cs [[OLD]], [[NEW]], 0(%r3) -; CHECK-MAIN: j{{g?}}lh [[LOOP]] +; CHECK-MAIN: jlh [[LOOP]] ; CHECK-MAIN: [[EXIT]]: ; CHECK-MAIN-NOT: %r2 ; CHECK-MAIN: br %r14 diff --git a/test/CodeGen/SystemZ/cmpxchg-02.ll b/test/CodeGen/SystemZ/cmpxchg-02.ll index cc34523..2c2f76c 100644 --- a/test/CodeGen/SystemZ/cmpxchg-02.ll +++ b/test/CodeGen/SystemZ/cmpxchg-02.ll @@ -19,11 +19,11 @@ define i16 @f1(i16 %dummy, i16 *%src, i16 %cmp, i16 %swap) { ; CHECK-MAIN: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK-MAIN: risbg %r4, %r2, 32, 47, 0 ; CHECK-MAIN: cr %r2, %r4 -; CHECK-MAIN: j{{g?}}lh [[EXIT:\.[^ ]*]] +; CHECK-MAIN: jlh [[EXIT:\.[^ ]*]] ; CHECK-MAIN: risbg %r5, %r2, 32, 47, 0 ; CHECK-MAIN: rll [[NEW:%r[0-9]+]], %r5, -16({{%r[1-9]+}}) ; CHECK-MAIN: cs [[OLD]], [[NEW]], 0(%r3) -; CHECK-MAIN: j{{g?}}lh [[LOOP]] +; CHECK-MAIN: jlh [[LOOP]] ; CHECK-MAIN: [[EXIT]]: ; CHECK-MAIN-NOT: %r2 ; CHECK-MAIN: br %r14 diff --git a/test/CodeGen/SystemZ/fp-cmp-01.ll b/test/CodeGen/SystemZ/fp-cmp-01.ll index b80a715..cb2a6be 100644 --- a/test/CodeGen/SystemZ/fp-cmp-01.ll +++ b/test/CodeGen/SystemZ/fp-cmp-01.ll @@ -6,7 +6,7 @@ define i64 @f1(i64 %a, i64 %b, float %f1, float %f2) { ; CHECK: f1: ; CHECK: cebr %f0, %f2 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %cond = fcmp oeq float %f1, %f2 @@ -18,7 +18,7 @@ define i64 @f1(i64 %a, i64 %b, float %f1, float %f2) { define i64 @f2(i64 %a, i64 %b, float %f1, float *%ptr) { ; CHECK: f2: ; CHECK: ceb %f0, 0(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %f2 = load float *%ptr @@ -31,7 +31,7 @@ define i64 @f2(i64 %a, i64 %b, float %f1, float *%ptr) { define i64 @f3(i64 %a, i64 %b, float %f1, float *%base) { ; CHECK: f3: ; CHECK: ceb %f0, 4092(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr = getelementptr float *%base, i64 1023 @@ -47,7 +47,7 @@ define i64 @f4(i64 %a, i64 %b, float %f1, float *%base) { ; CHECK: f4: ; CHECK: aghi %r4, 4096 ; CHECK: ceb %f0, 0(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr = getelementptr float *%base, i64 1024 @@ -62,7 +62,7 @@ define i64 @f5(i64 %a, i64 %b, float %f1, float *%base) { ; CHECK: f5: ; CHECK: aghi %r4, -4 ; CHECK: ceb %f0, 0(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr = getelementptr float *%base, i64 -1 @@ -77,7 +77,7 @@ define i64 @f6(i64 %a, i64 %b, float %f1, float *%base, i64 %index) { ; CHECK: f6: ; CHECK: sllg %r1, %r5, 2 ; CHECK: ceb %f0, 400(%r1,%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr1 = getelementptr float *%base, i64 %index diff --git a/test/CodeGen/SystemZ/fp-cmp-02.ll b/test/CodeGen/SystemZ/fp-cmp-02.ll index 8227308..2987d50 100644 --- a/test/CodeGen/SystemZ/fp-cmp-02.ll +++ b/test/CodeGen/SystemZ/fp-cmp-02.ll @@ -6,7 +6,7 @@ define i64 @f1(i64 %a, i64 %b, double %f1, double %f2) { ; CHECK: f1: ; CHECK: cdbr %f0, %f2 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %cond = fcmp oeq double %f1, %f2 @@ -18,7 +18,7 @@ define i64 @f1(i64 %a, i64 %b, double %f1, double %f2) { define i64 @f2(i64 %a, i64 %b, double %f1, double *%ptr) { ; CHECK: f2: ; CHECK: cdb %f0, 0(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %f2 = load double *%ptr @@ -31,7 +31,7 @@ define i64 @f2(i64 %a, i64 %b, double %f1, double *%ptr) { define i64 @f3(i64 %a, i64 %b, double %f1, double *%base) { ; CHECK: f3: ; CHECK: cdb %f0, 4088(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr = getelementptr double *%base, i64 511 @@ -47,7 +47,7 @@ define i64 @f4(i64 %a, i64 %b, double %f1, double *%base) { ; CHECK: f4: ; CHECK: aghi %r4, 4096 ; CHECK: cdb %f0, 0(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr = getelementptr double *%base, i64 512 @@ -62,7 +62,7 @@ define i64 @f5(i64 %a, i64 %b, double %f1, double *%base) { ; CHECK: f5: ; CHECK: aghi %r4, -8 ; CHECK: cdb %f0, 0(%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr = getelementptr double *%base, i64 -1 @@ -77,7 +77,7 @@ define i64 @f6(i64 %a, i64 %b, double %f1, double *%base, i64 %index) { ; CHECK: f6: ; CHECK: sllg %r1, %r5, 3 ; CHECK: cdb %f0, 800(%r1,%r4) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %ptr1 = getelementptr double *%base, i64 %index diff --git a/test/CodeGen/SystemZ/fp-cmp-03.ll b/test/CodeGen/SystemZ/fp-cmp-03.ll index fd12c93..1a5009e 100644 --- a/test/CodeGen/SystemZ/fp-cmp-03.ll +++ b/test/CodeGen/SystemZ/fp-cmp-03.ll @@ -9,7 +9,7 @@ define i64 @f1(i64 %a, i64 %b, fp128 *%ptr, float %f2) { ; CHECK: ld %f1, 0(%r4) ; CHECK: ld %f3, 8(%r4) ; CHECK: cxbr %f1, %f0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: lgr %r2, %r3 ; CHECK: br %r14 %f2x = fpext float %f2 to fp128 diff --git a/test/CodeGen/SystemZ/int-cmp-02.ll b/test/CodeGen/SystemZ/int-cmp-02.ll index c158fb4..262ade0 100644 --- a/test/CodeGen/SystemZ/int-cmp-02.ll +++ b/test/CodeGen/SystemZ/int-cmp-02.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i32 %i1, i32 %i2) { ; CHECK: f1: ; CHECK: cr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, %i2 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i32 %i1, i32 %i2) { define double @f2(double %a, double %b, i32 %i1, i32 *%ptr) { ; CHECK: f2: ; CHECK: c %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = load i32 *%ptr @@ -31,7 +31,7 @@ define double @f2(double %a, double %b, i32 %i1, i32 *%ptr) { define double @f3(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f3: ; CHECK: c %r2, 4092(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1023 @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i32 %i1, i32 *%base) { define double @f4(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f4: ; CHECK: cy %r2, 4096(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1024 @@ -59,7 +59,7 @@ define double @f4(double %a, double %b, i32 %i1, i32 *%base) { define double @f5(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f5: ; CHECK: cy %r2, 524284(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131071 @@ -75,7 +75,7 @@ define double @f6(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f6: ; CHECK: agfi %r3, 524288 ; CHECK: c %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131072 @@ -89,7 +89,7 @@ define double @f6(double %a, double %b, i32 %i1, i32 *%base) { define double @f7(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f7: ; CHECK: cy %r2, -4(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -1 @@ -103,7 +103,7 @@ define double @f7(double %a, double %b, i32 %i1, i32 *%base) { define double @f8(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f8: ; CHECK: cy %r2, -524288(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131072 @@ -119,7 +119,7 @@ define double @f9(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f9: ; CHECK: agfi %r3, -524292 ; CHECK: c %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131073 @@ -133,7 +133,7 @@ define double @f9(double %a, double %b, i32 %i1, i32 *%base) { define double @f10(double %a, double %b, i32 %i1, i64 %base, i64 %index) { ; CHECK: f10: ; CHECK: c %r2, 4092({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index @@ -149,7 +149,7 @@ define double @f10(double %a, double %b, i32 %i1, i64 %base, i64 %index) { define double @f11(double %a, double %b, i32 %i1, i64 %base, i64 %index) { ; CHECK: f11: ; CHECK: cy %r2, 4096({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-03.ll b/test/CodeGen/SystemZ/int-cmp-03.ll index 4203bee..bd802bc 100644 --- a/test/CodeGen/SystemZ/int-cmp-03.ll +++ b/test/CodeGen/SystemZ/int-cmp-03.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i32 %i1, i32 %i2) { ; CHECK: f1: ; CHECK: clr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ult i32 %i1, %i2 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i32 %i1, i32 %i2) { define double @f2(double %a, double %b, i32 %i1, i32 *%ptr) { ; CHECK: f2: ; CHECK: cl %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = load i32 *%ptr @@ -31,7 +31,7 @@ define double @f2(double %a, double %b, i32 %i1, i32 *%ptr) { define double @f3(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f3: ; CHECK: cl %r2, 4092(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1023 @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i32 %i1, i32 *%base) { define double @f4(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f4: ; CHECK: cly %r2, 4096(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1024 @@ -59,7 +59,7 @@ define double @f4(double %a, double %b, i32 %i1, i32 *%base) { define double @f5(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f5: ; CHECK: cly %r2, 524284(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131071 @@ -75,7 +75,7 @@ define double @f6(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f6: ; CHECK: agfi %r3, 524288 ; CHECK: cl %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131072 @@ -89,7 +89,7 @@ define double @f6(double %a, double %b, i32 %i1, i32 *%base) { define double @f7(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f7: ; CHECK: cly %r2, -4(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -1 @@ -103,7 +103,7 @@ define double @f7(double %a, double %b, i32 %i1, i32 *%base) { define double @f8(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f8: ; CHECK: cly %r2, -524288(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131072 @@ -119,7 +119,7 @@ define double @f9(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f9: ; CHECK: agfi %r3, -524292 ; CHECK: cl %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131073 @@ -133,7 +133,7 @@ define double @f9(double %a, double %b, i32 %i1, i32 *%base) { define double @f10(double %a, double %b, i32 %i1, i64 %base, i64 %index) { ; CHECK: f10: ; CHECK: cl %r2, 4092({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index @@ -149,7 +149,7 @@ define double @f10(double %a, double %b, i32 %i1, i64 %base, i64 %index) { define double @f11(double %a, double %b, i32 %i1, i64 %base, i64 %index) { ; CHECK: f11: ; CHECK: cly %r2, 4096({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-05.ll b/test/CodeGen/SystemZ/int-cmp-05.ll index 2ab64d5..38cd1a5 100644 --- a/test/CodeGen/SystemZ/int-cmp-05.ll +++ b/test/CodeGen/SystemZ/int-cmp-05.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1, i32 %unext) { ; CHECK: f1: ; CHECK: cgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = sext i32 %unext to i64 @@ -30,7 +30,7 @@ define double @f2(double %a, double %b, i64 %i1, i32 %unext) { define double @f3(double %a, double %b, i64 %i1, i32 %unext) { ; CHECK: f3: ; CHECK: cgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = sext i32 %unext to i64 @@ -43,7 +43,7 @@ define double @f3(double %a, double %b, i64 %i1, i32 %unext) { define double @f4(double %a, double %b, i64 %i1, i32 %unext) { ; CHECK: f4: ; CHECK: cgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = sext i32 %unext to i64 @@ -56,7 +56,7 @@ define double @f4(double %a, double %b, i64 %i1, i32 %unext) { define double @f5(double %a, double %b, i64 %i1, i32 *%ptr) { ; CHECK: f5: ; CHECK: cgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %unext = load i32 *%ptr @@ -82,7 +82,7 @@ define double @f6(double %a, double %b, i64 %i1, i32 *%ptr) { define double @f7(double %a, double %b, i64 %i1, i32 *%ptr) { ; CHECK: f7: ; CHECK: cgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %unext = load i32 *%ptr @@ -96,7 +96,7 @@ define double @f7(double %a, double %b, i64 %i1, i32 *%ptr) { define double @f8(double %a, double %b, i64 %i1, i32 *%ptr) { ; CHECK: f8: ; CHECK: cgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %unext = load i32 *%ptr @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i64 %i1, i32 *%ptr) { define double @f9(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f9: ; CHECK: cgf %r2, 524284(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131071 @@ -127,7 +127,7 @@ define double @f10(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f10: ; CHECK: agfi %r3, 524288 ; CHECK: cgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131072 @@ -142,7 +142,7 @@ define double @f10(double %a, double %b, i64 %i1, i32 *%base) { define double @f11(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f11: ; CHECK: cgf %r2, -4(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -1 @@ -157,7 +157,7 @@ define double @f11(double %a, double %b, i64 %i1, i32 *%base) { define double @f12(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f12: ; CHECK: cgf %r2, -524288(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131072 @@ -174,7 +174,7 @@ define double @f13(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f13: ; CHECK: agfi %r3, -524292 ; CHECK: cgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131073 @@ -189,7 +189,7 @@ define double @f13(double %a, double %b, i64 %i1, i32 *%base) { define double @f14(double %a, double %b, i64 %i1, i64 %base, i64 %index) { ; CHECK: f14: ; CHECK: cgf %r2, 524284({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-06.ll b/test/CodeGen/SystemZ/int-cmp-06.ll index 26f6dbf..efb6ad8 100644 --- a/test/CodeGen/SystemZ/int-cmp-06.ll +++ b/test/CodeGen/SystemZ/int-cmp-06.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1, i32 %unext) { ; CHECK: f1: ; CHECK: clgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = zext i32 %unext to i64 @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i64 %i1, i32 %unext) { define double @f2(double %a, double %b, i64 %i1, i64 %unext) { ; CHECK: f2: ; CHECK: clgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = and i64 %unext, 4294967295 @@ -54,7 +54,7 @@ define double @f4(double %a, double %b, i64 %i1, i64 %unext) { define double @f5(double %a, double %b, i64 %i1, i32 %unext) { ; CHECK: f5: ; CHECK: clgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = zext i32 %unext to i64 @@ -67,7 +67,7 @@ define double @f5(double %a, double %b, i64 %i1, i32 %unext) { define double @f6(double %a, double %b, i64 %i1, i64 %unext) { ; CHECK: f6: ; CHECK: clgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = and i64 %unext, 4294967295 @@ -80,7 +80,7 @@ define double @f6(double %a, double %b, i64 %i1, i64 %unext) { define double @f7(double %a, double %b, i64 %i1, i32 %unext) { ; CHECK: f7: ; CHECK: clgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = zext i32 %unext to i64 @@ -93,7 +93,7 @@ define double @f7(double %a, double %b, i64 %i1, i32 %unext) { define double @f8(double %a, double %b, i64 %i1, i64 %unext) { ; CHECK: f8: ; CHECK: clgfr %r2, %r3 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = and i64 %unext, 4294967295 @@ -106,7 +106,7 @@ define double @f8(double %a, double %b, i64 %i1, i64 %unext) { define double @f9(double %a, double %b, i64 %i1, i32 *%ptr) { ; CHECK: f9: ; CHECK: clgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %unext = load i32 *%ptr @@ -132,7 +132,7 @@ define double @f10(double %a, double %b, i64 %i1, i32 *%ptr) { define double @f11(double %a, double %b, i64 %i1, i32 *%ptr) { ; CHECK: f11: ; CHECK: clgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %unext = load i32 *%ptr @@ -146,7 +146,7 @@ define double @f11(double %a, double %b, i64 %i1, i32 *%ptr) { define double @f12(double %a, double %b, i64 %i1, i32 *%ptr) { ; CHECK: f12: ; CHECK: clgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %unext = load i32 *%ptr @@ -160,7 +160,7 @@ define double @f12(double %a, double %b, i64 %i1, i32 *%ptr) { define double @f13(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f13: ; CHECK: clgf %r2, 524284(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131071 @@ -177,7 +177,7 @@ define double @f14(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f14: ; CHECK: agfi %r3, 524288 ; CHECK: clgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 131072 @@ -192,7 +192,7 @@ define double @f14(double %a, double %b, i64 %i1, i32 *%base) { define double @f15(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f15: ; CHECK: clgf %r2, -4(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -1 @@ -207,7 +207,7 @@ define double @f15(double %a, double %b, i64 %i1, i32 *%base) { define double @f16(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f16: ; CHECK: clgf %r2, -524288(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131072 @@ -224,7 +224,7 @@ define double @f17(double %a, double %b, i64 %i1, i32 *%base) { ; CHECK: f17: ; CHECK: agfi %r3, -524292 ; CHECK: clgf %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -131073 @@ -239,7 +239,7 @@ define double @f17(double %a, double %b, i64 %i1, i32 *%base) { define double @f18(double %a, double %b, i64 %i1, i64 %base, i64 %index) { ; CHECK: f18: ; CHECK: clgf %r2, 524284({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-07.ll b/test/CodeGen/SystemZ/int-cmp-07.ll index 1a6f622..6e626bc 100644 --- a/test/CodeGen/SystemZ/int-cmp-07.ll +++ b/test/CodeGen/SystemZ/int-cmp-07.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1, i64 %i2) { ; CHECK: f1: ; CHECK: cgr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, %i2 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i64 %i1, i64 %i2) { define double @f2(double %a, double %b, i64 %i1, i64 *%ptr) { ; CHECK: f2: ; CHECK: cg %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = load i64 *%ptr @@ -31,7 +31,7 @@ define double @f2(double %a, double %b, i64 %i1, i64 *%ptr) { define double @f3(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f3: ; CHECK: cg %r2, 524280(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 65535 @@ -47,7 +47,7 @@ define double @f4(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f4: ; CHECK: agfi %r3, 524288 ; CHECK: cg %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 65536 @@ -61,7 +61,7 @@ define double @f4(double %a, double %b, i64 %i1, i64 *%base) { define double @f5(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f5: ; CHECK: cg %r2, -8(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -1 @@ -75,7 +75,7 @@ define double @f5(double %a, double %b, i64 %i1, i64 *%base) { define double @f6(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f6: ; CHECK: cg %r2, -524288(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -65536 @@ -91,7 +91,7 @@ define double @f7(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f7: ; CHECK: agfi %r3, -524296 ; CHECK: cg %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -65537 @@ -105,7 +105,7 @@ define double @f7(double %a, double %b, i64 %i1, i64 *%base) { define double @f8(double %a, double %b, i64 %i1, i64 %base, i64 %index) { ; CHECK: f8: ; CHECK: cg %r2, 524280({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-08.ll b/test/CodeGen/SystemZ/int-cmp-08.ll index 6e9a13e..b091ba6 100644 --- a/test/CodeGen/SystemZ/int-cmp-08.ll +++ b/test/CodeGen/SystemZ/int-cmp-08.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1, i64 %i2) { ; CHECK: f1: ; CHECK: clgr %r2, %r3 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ult i64 %i1, %i2 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i64 %i1, i64 %i2) { define double @f2(double %a, double %b, i64 %i1, i64 *%ptr) { ; CHECK: f2: ; CHECK: clg %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %i2 = load i64 *%ptr @@ -31,7 +31,7 @@ define double @f2(double %a, double %b, i64 %i1, i64 *%ptr) { define double @f3(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f3: ; CHECK: clg %r2, 524280(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 65535 @@ -47,7 +47,7 @@ define double @f4(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f4: ; CHECK: agfi %r3, 524288 ; CHECK: clg %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 65536 @@ -61,7 +61,7 @@ define double @f4(double %a, double %b, i64 %i1, i64 *%base) { define double @f5(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f5: ; CHECK: clg %r2, -8(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -1 @@ -75,7 +75,7 @@ define double @f5(double %a, double %b, i64 %i1, i64 *%base) { define double @f6(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f6: ; CHECK: clg %r2, -524288(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -65536 @@ -91,7 +91,7 @@ define double @f7(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f7: ; CHECK: agfi %r3, -524296 ; CHECK: clg %r2, 0(%r3) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -65537 @@ -105,7 +105,7 @@ define double @f7(double %a, double %b, i64 %i1, i64 *%base) { define double @f8(double %a, double %b, i64 %i1, i64 %base, i64 %index) { ; CHECK: f8: ; CHECK: clg %r2, 524280({{%r4,%r3|%r3,%r4}}) -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add1 = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-09.ll b/test/CodeGen/SystemZ/int-cmp-09.ll index bb7213c..06ebee2 100644 --- a/test/CodeGen/SystemZ/int-cmp-09.ll +++ b/test/CodeGen/SystemZ/int-cmp-09.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i32 %i1) { ; CHECK: f1: ; CHECK: chi %r2, 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, 0 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i32 %i1) { define double @f2(double %a, double %b, i32 %i1) { ; CHECK: f2: ; CHECK: chi %r2, 1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, 1 @@ -30,7 +30,7 @@ define double @f2(double %a, double %b, i32 %i1) { define double @f3(double %a, double %b, i32 %i1) { ; CHECK: f3: ; CHECK: chi %r2, 32767 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, 32767 @@ -42,7 +42,7 @@ define double @f3(double %a, double %b, i32 %i1) { define double @f4(double %a, double %b, i32 %i1) { ; CHECK: f4: ; CHECK: cfi %r2, 32768 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, 32768 @@ -54,7 +54,7 @@ define double @f4(double %a, double %b, i32 %i1) { define double @f5(double %a, double %b, i32 %i1) { ; CHECK: f5: ; CHECK: cfi %r2, 2147483647 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i32 %i1, 2147483647 @@ -66,7 +66,7 @@ define double @f5(double %a, double %b, i32 %i1) { define double @f6(double %a, double %b, i32 %i1) { ; CHECK: f6: ; CHECK: cfi %r2, -2147483648 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i32 %i1, 2147483648 @@ -78,7 +78,7 @@ define double @f6(double %a, double %b, i32 %i1) { define double @f7(double %a, double %b, i32 %i1) { ; CHECK: f7: ; CHECK: chi %r2, -1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, -1 @@ -90,7 +90,7 @@ define double @f7(double %a, double %b, i32 %i1) { define double @f8(double %a, double %b, i32 %i1) { ; CHECK: f8: ; CHECK: chi %r2, -32768 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, -32768 @@ -102,7 +102,7 @@ define double @f8(double %a, double %b, i32 %i1) { define double @f9(double %a, double %b, i32 %i1) { ; CHECK: f9: ; CHECK: cfi %r2, -32769 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i32 %i1, -32769 @@ -114,7 +114,7 @@ define double @f9(double %a, double %b, i32 %i1) { define double @f10(double %a, double %b, i32 %i1) { ; CHECK: f10: ; CHECK: cfi %r2, -2147483648 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i32 %i1, -2147483648 @@ -126,7 +126,7 @@ define double @f10(double %a, double %b, i32 %i1) { define double @f11(double %a, double %b, i32 %i1) { ; CHECK: f11: ; CHECK: cfi %r2, 2147483647 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i32 %i1, -2147483649 diff --git a/test/CodeGen/SystemZ/int-cmp-10.ll b/test/CodeGen/SystemZ/int-cmp-10.ll index f2d3ccd..937b1bc 100644 --- a/test/CodeGen/SystemZ/int-cmp-10.ll +++ b/test/CodeGen/SystemZ/int-cmp-10.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i32 %i1) { ; CHECK: f1: ; CHECK: clfi %r2, 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ugt i32 %i1, 1 @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i32 %i1) { define double @f2(double %a, double %b, i32 %i1) { ; CHECK: f2: ; CHECK: clfi %r2, 4294967280 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ult i32 %i1, 4294967280 diff --git a/test/CodeGen/SystemZ/int-cmp-11.ll b/test/CodeGen/SystemZ/int-cmp-11.ll index 1bfb0c6..876882e 100644 --- a/test/CodeGen/SystemZ/int-cmp-11.ll +++ b/test/CodeGen/SystemZ/int-cmp-11.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1) { ; CHECK: f1: ; CHECK: cghi %r2, 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, 0 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i64 %i1) { define double @f2(double %a, double %b, i64 %i1) { ; CHECK: f2: ; CHECK: cghi %r2, 1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, 1 @@ -30,7 +30,7 @@ define double @f2(double %a, double %b, i64 %i1) { define double @f3(double %a, double %b, i64 %i1) { ; CHECK: f3: ; CHECK: cghi %r2, 32767 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, 32767 @@ -42,7 +42,7 @@ define double @f3(double %a, double %b, i64 %i1) { define double @f4(double %a, double %b, i64 %i1) { ; CHECK: f4: ; CHECK: cgfi %r2, 32768 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, 32768 @@ -54,7 +54,7 @@ define double @f4(double %a, double %b, i64 %i1) { define double @f5(double %a, double %b, i64 %i1) { ; CHECK: f5: ; CHECK: cgfi %r2, 2147483647 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, 2147483647 @@ -66,7 +66,7 @@ define double @f5(double %a, double %b, i64 %i1) { define double @f6(double %a, double %b, i64 %i1) { ; CHECK: f6: ; CHECK: cgr -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, 2147483648 @@ -78,7 +78,7 @@ define double @f6(double %a, double %b, i64 %i1) { define double @f7(double %a, double %b, i64 %i1) { ; CHECK: f7: ; CHECK: cghi %r2, -1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, -1 @@ -90,7 +90,7 @@ define double @f7(double %a, double %b, i64 %i1) { define double @f8(double %a, double %b, i64 %i1) { ; CHECK: f8: ; CHECK: cghi %r2, -32768 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, -32768 @@ -102,7 +102,7 @@ define double @f8(double %a, double %b, i64 %i1) { define double @f9(double %a, double %b, i64 %i1) { ; CHECK: f9: ; CHECK: cgfi %r2, -32769 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, -32769 @@ -114,7 +114,7 @@ define double @f9(double %a, double %b, i64 %i1) { define double @f10(double %a, double %b, i64 %i1) { ; CHECK: f10: ; CHECK: cgfi %r2, -2147483648 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, -2147483648 @@ -126,7 +126,7 @@ define double @f10(double %a, double %b, i64 %i1) { define double @f11(double %a, double %b, i64 %i1) { ; CHECK: f11: ; CHECK: cgr -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp slt i64 %i1, -2147483649 diff --git a/test/CodeGen/SystemZ/int-cmp-12.ll b/test/CodeGen/SystemZ/int-cmp-12.ll index 0288730..74d16cc 100644 --- a/test/CodeGen/SystemZ/int-cmp-12.ll +++ b/test/CodeGen/SystemZ/int-cmp-12.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i64 %i1) { ; CHECK: f1: ; CHECK: clgfi %r2, 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ugt i64 %i1, 1 @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i64 %i1) { define double @f2(double %a, double %b, i64 %i1) { ; CHECK: f2: ; CHECK: clgfi %r2, 4294967295 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ult i64 %i1, 4294967295 @@ -31,7 +31,7 @@ define double @f2(double %a, double %b, i64 %i1) { define double @f3(double %a, double %b, i64 %i1) { ; CHECK: f3: ; CHECK: clgr %r2, -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ult i64 %i1, 4294967296 diff --git a/test/CodeGen/SystemZ/int-cmp-13.ll b/test/CodeGen/SystemZ/int-cmp-13.ll index c180831..0eec890 100644 --- a/test/CodeGen/SystemZ/int-cmp-13.ll +++ b/test/CodeGen/SystemZ/int-cmp-13.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1) { ; CHECK: f1: ; CHECK: cghi %r2, 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 0 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i64 %i1) { define double @f2(double %a, double %b, i64 %i1) { ; CHECK: f2: ; CHECK: cghi %r2, 32767 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 32767 @@ -30,7 +30,7 @@ define double @f2(double %a, double %b, i64 %i1) { define double @f3(double %a, double %b, i64 %i1) { ; CHECK: f3: ; CHECK: cgfi %r2, 32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 32768 @@ -42,7 +42,7 @@ define double @f3(double %a, double %b, i64 %i1) { define double @f4(double %a, double %b, i64 %i1) { ; CHECK: f4: ; CHECK: cgfi %r2, 2147483647 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 2147483647 @@ -54,7 +54,7 @@ define double @f4(double %a, double %b, i64 %i1) { define double @f5(double %a, double %b, i64 %i1) { ; CHECK: f5: ; CHECK: clgfi %r2, 2147483648 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 2147483648 @@ -66,7 +66,7 @@ define double @f5(double %a, double %b, i64 %i1) { define double @f6(double %a, double %b, i64 %i1) { ; CHECK: f6: ; CHECK: clgfi %r2, 4294967295 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 4294967295 @@ -78,7 +78,7 @@ define double @f6(double %a, double %b, i64 %i1) { define double @f7(double %a, double %b, i64 %i1) { ; CHECK: f7: ; CHECK: cgr %r2, -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, 4294967296 @@ -90,7 +90,7 @@ define double @f7(double %a, double %b, i64 %i1) { define double @f8(double %a, double %b, i64 %i1) { ; CHECK: f8: ; CHECK: cghi %r2, -1 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, -1 @@ -102,7 +102,7 @@ define double @f8(double %a, double %b, i64 %i1) { define double @f9(double %a, double %b, i64 %i1) { ; CHECK: f9: ; CHECK: cghi %r2, -32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, -32768 @@ -114,7 +114,7 @@ define double @f9(double %a, double %b, i64 %i1) { define double @f10(double %a, double %b, i64 %i1) { ; CHECK: f10: ; CHECK: cgfi %r2, -32769 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, -32769 @@ -126,7 +126,7 @@ define double @f10(double %a, double %b, i64 %i1) { define double @f11(double %a, double %b, i64 %i1) { ; CHECK: f11: ; CHECK: cgfi %r2, -2147483648 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, -2147483648 @@ -138,7 +138,7 @@ define double @f11(double %a, double %b, i64 %i1) { define double @f12(double %a, double %b, i64 %i1) { ; CHECK: f12: ; CHECK: cgr -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp eq i64 %i1, -2147483649 diff --git a/test/CodeGen/SystemZ/int-cmp-14.ll b/test/CodeGen/SystemZ/int-cmp-14.ll index 6a7e0e6..e3a561e 100644 --- a/test/CodeGen/SystemZ/int-cmp-14.ll +++ b/test/CodeGen/SystemZ/int-cmp-14.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 %i1) { ; CHECK: f1: ; CHECK: cghi %r2, 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 0 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i64 %i1) { define double @f2(double %a, double %b, i64 %i1) { ; CHECK: f2: ; CHECK: cghi %r2, 32767 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 32767 @@ -30,7 +30,7 @@ define double @f2(double %a, double %b, i64 %i1) { define double @f3(double %a, double %b, i64 %i1) { ; CHECK: f3: ; CHECK: cgfi %r2, 32768 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 32768 @@ -42,7 +42,7 @@ define double @f3(double %a, double %b, i64 %i1) { define double @f4(double %a, double %b, i64 %i1) { ; CHECK: f4: ; CHECK: cgfi %r2, 2147483647 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 2147483647 @@ -54,7 +54,7 @@ define double @f4(double %a, double %b, i64 %i1) { define double @f5(double %a, double %b, i64 %i1) { ; CHECK: f5: ; CHECK: clgfi %r2, 2147483648 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 2147483648 @@ -66,7 +66,7 @@ define double @f5(double %a, double %b, i64 %i1) { define double @f6(double %a, double %b, i64 %i1) { ; CHECK: f6: ; CHECK: clgfi %r2, 4294967295 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 4294967295 @@ -78,7 +78,7 @@ define double @f6(double %a, double %b, i64 %i1) { define double @f7(double %a, double %b, i64 %i1) { ; CHECK: f7: ; CHECK: cgr %r2, -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, 4294967296 @@ -90,7 +90,7 @@ define double @f7(double %a, double %b, i64 %i1) { define double @f8(double %a, double %b, i64 %i1) { ; CHECK: f8: ; CHECK: cghi %r2, -1 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, -1 @@ -102,7 +102,7 @@ define double @f8(double %a, double %b, i64 %i1) { define double @f9(double %a, double %b, i64 %i1) { ; CHECK: f9: ; CHECK: cghi %r2, -32768 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, -32768 @@ -114,7 +114,7 @@ define double @f9(double %a, double %b, i64 %i1) { define double @f10(double %a, double %b, i64 %i1) { ; CHECK: f10: ; CHECK: cgfi %r2, -32769 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, -32769 @@ -126,7 +126,7 @@ define double @f10(double %a, double %b, i64 %i1) { define double @f11(double %a, double %b, i64 %i1) { ; CHECK: f11: ; CHECK: cgfi %r2, -2147483648 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, -2147483648 @@ -138,7 +138,7 @@ define double @f11(double %a, double %b, i64 %i1) { define double @f12(double %a, double %b, i64 %i1) { ; CHECK: f12: ; CHECK: cgr -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %cond = icmp ne i64 %i1, -2147483649 diff --git a/test/CodeGen/SystemZ/int-cmp-15.ll b/test/CodeGen/SystemZ/int-cmp-15.ll index 6bb7e2b..1868c57 100644 --- a/test/CodeGen/SystemZ/int-cmp-15.ll +++ b/test/CodeGen/SystemZ/int-cmp-15.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp ugt i8 %val, 1 @@ -18,7 +18,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp ult i8 %val, 254 @@ -30,7 +30,7 @@ define double @f2(double %a, double %b, i8 *%ptr) { define double @f3(double %a, double %b, i8 *%ptr) { ; CHECK: f3: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp slt i8 %val, 0 @@ -42,7 +42,7 @@ define double @f3(double %a, double %b, i8 *%ptr) { define double @f4(double %a, double %b, i8 *%ptr) { ; CHECK: f4: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp sle i8 %val, -1 @@ -54,7 +54,7 @@ define double @f4(double %a, double %b, i8 *%ptr) { define double @f5(double %a, double %b, i8 *%ptr) { ; CHECK: f5: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp sge i8 %val, 0 @@ -66,7 +66,7 @@ define double @f5(double %a, double %b, i8 *%ptr) { define double @f6(double %a, double %b, i8 *%ptr) { ; CHECK: f6: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp sgt i8 %val, -1 @@ -78,7 +78,7 @@ define double @f6(double %a, double %b, i8 *%ptr) { define double @f7(double %a, double %b, i8 *%ptr) { ; CHECK: f7: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp eq i8 %val, -128 @@ -90,7 +90,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp eq i8 %val, 0 @@ -102,7 +102,7 @@ define double @f8(double %a, double %b, i8 *%ptr) { define double @f9(double %a, double %b, i8 *%ptr) { ; CHECK: f9: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp eq i8 %val, 127 @@ -114,7 +114,7 @@ define double @f9(double %a, double %b, i8 *%ptr) { define double @f10(double %a, double %b, i8 *%ptr) { ; CHECK: f10: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %cond = icmp eq i8 %val, 255 diff --git a/test/CodeGen/SystemZ/int-cmp-16.ll b/test/CodeGen/SystemZ/int-cmp-16.ll index 8af854e..a2c9e87 100644 --- a/test/CodeGen/SystemZ/int-cmp-16.ll +++ b/test/CodeGen/SystemZ/int-cmp-16.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i8 *%ptr) { define double @f5(double %a, double %b, i8 *%ptr) { ; CHECK: f5: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i8 *%ptr) { define double @f6(double %a, double %b, i8 *%ptr) { ; CHECK: f6: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i8 *%ptr) { define double @f9(double %a, double %b, i8 *%ptr) { ; CHECK: f9: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 diff --git a/test/CodeGen/SystemZ/int-cmp-17.ll b/test/CodeGen/SystemZ/int-cmp-17.ll index d4d5e98..83e4d2d 100644 --- a/test/CodeGen/SystemZ/int-cmp-17.ll +++ b/test/CodeGen/SystemZ/int-cmp-17.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i8 *%ptr) { define double @f5(double %a, double %b, i8 *%ptr) { ; CHECK: f5: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i8 *%ptr) { define double @f6(double %a, double %b, i8 *%ptr) { ; CHECK: f6: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i8 *%ptr) { define double @f9(double %a, double %b, i8 *%ptr) { ; CHECK: f9: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 diff --git a/test/CodeGen/SystemZ/int-cmp-18.ll b/test/CodeGen/SystemZ/int-cmp-18.ll index 9822dc2..99cf68a 100644 --- a/test/CodeGen/SystemZ/int-cmp-18.ll +++ b/test/CodeGen/SystemZ/int-cmp-18.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i8 *%ptr) { define double @f5(double %a, double %b, i8 *%ptr) { ; CHECK: f5: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i8 *%ptr) { define double @f6(double %a, double %b, i8 *%ptr) { ; CHECK: f6: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i8 *%ptr) { define double @f9(double %a, double %b, i8 *%ptr) { ; CHECK: f9: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 diff --git a/test/CodeGen/SystemZ/int-cmp-19.ll b/test/CodeGen/SystemZ/int-cmp-19.ll index 7d29dbc..4f84687 100644 --- a/test/CodeGen/SystemZ/int-cmp-19.ll +++ b/test/CodeGen/SystemZ/int-cmp-19.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i8 *%ptr) { define double @f5(double %a, double %b, i8 *%ptr) { ; CHECK: f5: ; CHECK: cli 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i8 *%ptr) { define double @f6(double %a, double %b, i8 *%ptr) { ; CHECK: f6: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 255 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i8 *%ptr) { define double @f9(double %a, double %b, i8 *%ptr) { ; CHECK: f9: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 diff --git a/test/CodeGen/SystemZ/int-cmp-20.ll b/test/CodeGen/SystemZ/int-cmp-20.ll index 8fffbc8..eb21bd1 100644 --- a/test/CodeGen/SystemZ/int-cmp-20.ll +++ b/test/CodeGen/SystemZ/int-cmp-20.ll @@ -8,7 +8,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -22,7 +22,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -36,7 +36,7 @@ define double @f2(double %a, double %b, i8 *%ptr) { define double @f3(double %a, double %b, i8 *%ptr) { ; CHECK: f3: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -50,7 +50,7 @@ define double @f3(double %a, double %b, i8 *%ptr) { define double @f4(double %a, double %b, i8 *%ptr) { ; CHECK: f4: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -105,7 +105,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -132,7 +132,7 @@ define double @f9(double %a, double %b, i8 *%ptr) { define double @f10(double %a, double %b, i8 *%ptr) { ; CHECK: f10: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -171,7 +171,7 @@ define double @f12(double %a, double %b, i8 *%ptr) { define double @f13(double %a, double %b, i8 *%ptr) { ; CHECK: f13: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -184,7 +184,7 @@ define double @f13(double %a, double %b, i8 *%ptr) { define double @f14(double %a, double %b, i8 *%ptr) { ; CHECK: f14: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -197,7 +197,7 @@ define double @f14(double %a, double %b, i8 *%ptr) { define double @f15(double %a, double %b, i8 *%ptr) { ; CHECK: f15: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -210,7 +210,7 @@ define double @f15(double %a, double %b, i8 *%ptr) { define double @f16(double %a, double %b, i8 *%ptr) { ; CHECK: f16: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 diff --git a/test/CodeGen/SystemZ/int-cmp-21.ll b/test/CodeGen/SystemZ/int-cmp-21.ll index 43447b8..9f81ad8 100644 --- a/test/CodeGen/SystemZ/int-cmp-21.ll +++ b/test/CodeGen/SystemZ/int-cmp-21.ll @@ -8,7 +8,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { ; CHECK: f1: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -22,7 +22,7 @@ define double @f1(double %a, double %b, i8 *%ptr) { define double @f2(double %a, double %b, i8 *%ptr) { ; CHECK: f2: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -36,7 +36,7 @@ define double @f2(double %a, double %b, i8 *%ptr) { define double @f3(double %a, double %b, i8 *%ptr) { ; CHECK: f3: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -50,7 +50,7 @@ define double @f3(double %a, double %b, i8 *%ptr) { define double @f4(double %a, double %b, i8 *%ptr) { ; CHECK: f4: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -105,7 +105,7 @@ define double @f7(double %a, double %b, i8 *%ptr) { define double @f8(double %a, double %b, i8 *%ptr) { ; CHECK: f8: ; CHECK: cli 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -132,7 +132,7 @@ define double @f9(double %a, double %b, i8 *%ptr) { define double @f10(double %a, double %b, i8 *%ptr) { ; CHECK: f10: ; CHECK: cli 0(%r2), 254 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i64 @@ -171,7 +171,7 @@ define double @f12(double %a, double %b, i8 *%ptr) { define double @f13(double %a, double %b, i8 *%ptr) { ; CHECK: f13: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -184,7 +184,7 @@ define double @f13(double %a, double %b, i8 *%ptr) { define double @f14(double %a, double %b, i8 *%ptr) { ; CHECK: f14: ; CHECK: cli 0(%r2), 128 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -197,7 +197,7 @@ define double @f14(double %a, double %b, i8 *%ptr) { define double @f15(double %a, double %b, i8 *%ptr) { ; CHECK: f15: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 @@ -210,7 +210,7 @@ define double @f15(double %a, double %b, i8 *%ptr) { define double @f16(double %a, double %b, i8 *%ptr) { ; CHECK: f16: ; CHECK: cli 0(%r2), 127 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i64 diff --git a/test/CodeGen/SystemZ/int-cmp-22.ll b/test/CodeGen/SystemZ/int-cmp-22.ll index 513d4be..7cecacb 100644 --- a/test/CodeGen/SystemZ/int-cmp-22.ll +++ b/test/CodeGen/SystemZ/int-cmp-22.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: chhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: chhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -32,7 +32,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { define double @f3(double %a, double %b, i16 *%ptr) { ; CHECK: f3: ; CHECK: chhsi 0(%r2), 32766 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i16 *%ptr) { define double @f4(double %a, double %b, i16 *%ptr) { ; CHECK: f4: ; CHECK: chhsi 0(%r2), -1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i16 *%ptr) { define double @f5(double %a, double %b, i16 *%ptr) { ; CHECK: f5: ; CHECK: chhsi 0(%r2), -32766 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i16 *%ptr) { define double @f6(double %a, double %b, i16 %i1, i16 *%base) { ; CHECK: f6: ; CHECK: chhsi 4094(%r3), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i16 *%base, i64 2047 @@ -86,7 +86,7 @@ define double @f7(double %a, double %b, i16 *%base) { ; CHECK: f7: ; CHECK: aghi %r2, 4096 ; CHECK: chhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i16 *%base, i64 2048 @@ -101,7 +101,7 @@ define double @f8(double %a, double %b, i16 *%base) { ; CHECK: f8: ; CHECK: aghi %r2, -2 ; CHECK: chhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i16 *%base, i64 -1 @@ -116,7 +116,7 @@ define double @f9(double %a, double %b, i64 %base, i64 %index) { ; CHECK: f9: ; CHECK: agr {{%r2, %r3|%r3, %r2}} ; CHECK: chhsi 0({{%r[23]}}), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-23.ll b/test/CodeGen/SystemZ/int-cmp-23.ll index 40e1331..2ca89c5 100644 --- a/test/CodeGen/SystemZ/int-cmp-23.ll +++ b/test/CodeGen/SystemZ/int-cmp-23.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -32,7 +32,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { define double @f3(double %a, double %b, i16 %i1, i16 *%base) { ; CHECK: f3: ; CHECK: clhhsi 4094(%r3), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i16 *%base, i64 2047 @@ -47,7 +47,7 @@ define double @f4(double %a, double %b, i16 *%base) { ; CHECK: f4: ; CHECK: aghi %r2, 4096 ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i16 *%base, i64 2048 @@ -62,7 +62,7 @@ define double @f5(double %a, double %b, i16 *%base) { ; CHECK: f5: ; CHECK: aghi %r2, -2 ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i16 *%base, i64 -1 @@ -77,7 +77,7 @@ define double @f6(double %a, double %b, i64 %base, i64 %index) { ; CHECK: f6: ; CHECK: agr {{%r2, %r3|%r3, %r2}} ; CHECK: clhhsi 0({{%r[23]}}), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-24.ll b/test/CodeGen/SystemZ/int-cmp-24.ll index 46186cd..01cc7b3 100644 --- a/test/CodeGen/SystemZ/int-cmp-24.ll +++ b/test/CodeGen/SystemZ/int-cmp-24.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -32,7 +32,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { define double @f3(double %a, double %b, i16 *%ptr) { ; CHECK: f3: ; CHECK: clhhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i16 *%ptr) { define double @f4(double %a, double %b, i16 *%ptr) { ; CHECK: f4: ; CHECK: clhhsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr diff --git a/test/CodeGen/SystemZ/int-cmp-25.ll b/test/CodeGen/SystemZ/int-cmp-25.ll index a3a223f..8ea8d6c 100644 --- a/test/CodeGen/SystemZ/int-cmp-25.ll +++ b/test/CodeGen/SystemZ/int-cmp-25.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -32,7 +32,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { define double @f3(double %a, double %b, i16 *%ptr) { ; CHECK: f3: ; CHECK: clhhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i16 *%ptr) { define double @f4(double %a, double %b, i16 *%ptr) { ; CHECK: f4: ; CHECK: clhhsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i16 *%ptr diff --git a/test/CodeGen/SystemZ/int-cmp-26.ll b/test/CodeGen/SystemZ/int-cmp-26.ll index 31330b2..9eb02f4 100644 --- a/test/CodeGen/SystemZ/int-cmp-26.ll +++ b/test/CodeGen/SystemZ/int-cmp-26.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i16 *%ptr) { define double @f5(double %a, double %b, i16 *%ptr) { ; CHECK: f5: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i16 *%ptr) { define double @f6(double %a, double %b, i16 *%ptr) { ; CHECK: f6: ; CHECK: clhhsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: f8: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: f9: ; CHECK: clhhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 diff --git a/test/CodeGen/SystemZ/int-cmp-27.ll b/test/CodeGen/SystemZ/int-cmp-27.ll index 7cbea3d..3a16e9e 100644 --- a/test/CodeGen/SystemZ/int-cmp-27.ll +++ b/test/CodeGen/SystemZ/int-cmp-27.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i16 *%ptr) { define double @f5(double %a, double %b, i16 *%ptr) { ; CHECK: f5: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i16 *%ptr) { define double @f6(double %a, double %b, i16 *%ptr) { ; CHECK: f6: ; CHECK: clhhsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: f8: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: f9: ; CHECK: clhhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 diff --git a/test/CodeGen/SystemZ/int-cmp-28.ll b/test/CodeGen/SystemZ/int-cmp-28.ll index 629eb4f..d40a95d 100644 --- a/test/CodeGen/SystemZ/int-cmp-28.ll +++ b/test/CodeGen/SystemZ/int-cmp-28.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i16 *%ptr) { define double @f5(double %a, double %b, i16 *%ptr) { ; CHECK: f5: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i16 *%ptr) { define double @f6(double %a, double %b, i16 *%ptr) { ; CHECK: f6: ; CHECK: clhhsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: f8: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: f9: ; CHECK: clhhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 diff --git a/test/CodeGen/SystemZ/int-cmp-29.ll b/test/CodeGen/SystemZ/int-cmp-29.ll index de41dd7..221bbcf 100644 --- a/test/CodeGen/SystemZ/int-cmp-29.ll +++ b/test/CodeGen/SystemZ/int-cmp-29.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i16 *%ptr) { define double @f5(double %a, double %b, i16 *%ptr) { ; CHECK: f5: ; CHECK: clhhsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -71,7 +71,7 @@ define double @f5(double %a, double %b, i16 *%ptr) { define double @f6(double %a, double %b, i16 *%ptr) { ; CHECK: f6: ; CHECK: clhhsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -97,7 +97,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: f8: ; CHECK: clhhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -110,7 +110,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: f9: ; CHECK: clhhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 diff --git a/test/CodeGen/SystemZ/int-cmp-30.ll b/test/CodeGen/SystemZ/int-cmp-30.ll index a5a39e3..507191b 100644 --- a/test/CodeGen/SystemZ/int-cmp-30.ll +++ b/test/CodeGen/SystemZ/int-cmp-30.ll @@ -8,7 +8,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -22,7 +22,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -36,7 +36,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { define double @f3(double %a, double %b, i16 *%ptr) { ; CHECK: f3: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -50,7 +50,7 @@ define double @f3(double %a, double %b, i16 *%ptr) { define double @f4(double %a, double %b, i16 *%ptr) { ; CHECK: f4: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -106,7 +106,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: f8: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -120,7 +120,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: f9: ; CHECK: chhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -134,7 +134,7 @@ define double @f9(double %a, double %b, i16 *%ptr) { define double @f10(double %a, double %b, i16 *%ptr) { ; CHECK: f10: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i32 @@ -148,7 +148,7 @@ define double @f10(double %a, double %b, i16 *%ptr) { define double @f11(double %a, double %b, i16 *%ptr) { ; CHECK: f11: ; CHECK: chhsi 0(%r2), -2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -175,7 +175,7 @@ define double @f12(double %a, double %b, i16 *%ptr) { define double @f13(double %a, double %b, i16 *%ptr) { ; CHECK: f13: ; CHECK: chhsi 0(%r2), 32766 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 @@ -202,7 +202,7 @@ define double @f14(double %a, double %b, i16 *%ptr) { define double @f15(double %a, double %b, i16 *%ptr) { ; CHECK: f15: ; CHECK: chhsi 0(%r2), -32767 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i32 diff --git a/test/CodeGen/SystemZ/int-cmp-31.ll b/test/CodeGen/SystemZ/int-cmp-31.ll index a935c18..a70ce2b 100644 --- a/test/CodeGen/SystemZ/int-cmp-31.ll +++ b/test/CodeGen/SystemZ/int-cmp-31.ll @@ -8,7 +8,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: f1: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -22,7 +22,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: f2: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -36,7 +36,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { define double @f3(double %a, double %b, i16 *%ptr) { ; CHECK: f3: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -50,7 +50,7 @@ define double @f3(double %a, double %b, i16 *%ptr) { define double @f4(double %a, double %b, i16 *%ptr) { ; CHECK: f4: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -106,7 +106,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: f8: ; CHECK: clhhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -120,7 +120,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: f9: ; CHECK: chhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -134,7 +134,7 @@ define double @f9(double %a, double %b, i16 *%ptr) { define double @f10(double %a, double %b, i16 *%ptr) { ; CHECK: f10: ; CHECK: clhhsi 0(%r2), 65534 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = zext i16 %val to i64 @@ -148,7 +148,7 @@ define double @f10(double %a, double %b, i16 *%ptr) { define double @f11(double %a, double %b, i16 *%ptr) { ; CHECK: f11: ; CHECK: chhsi 0(%r2), -2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -175,7 +175,7 @@ define double @f12(double %a, double %b, i16 *%ptr) { define double @f13(double %a, double %b, i16 *%ptr) { ; CHECK: f13: ; CHECK: chhsi 0(%r2), 32766 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 @@ -202,7 +202,7 @@ define double @f14(double %a, double %b, i16 *%ptr) { define double @f15(double %a, double %b, i16 *%ptr) { ; CHECK: f15: ; CHECK: chhsi 0(%r2), -32767 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: br %r14 %val = load i16 *%ptr %ext = sext i16 %val to i64 diff --git a/test/CodeGen/SystemZ/int-cmp-32.ll b/test/CodeGen/SystemZ/int-cmp-32.ll index 4bdeebb..f79182b 100644 --- a/test/CodeGen/SystemZ/int-cmp-32.ll +++ b/test/CodeGen/SystemZ/int-cmp-32.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i32 *%ptr) { ; CHECK: f1: ; CHECK: chsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i32 *%ptr) { define double @f2(double %a, double %b, i32 *%ptr) { ; CHECK: f2: ; CHECK: chsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -32,7 +32,7 @@ define double @f2(double %a, double %b, i32 *%ptr) { define double @f3(double %a, double %b, i32 *%ptr) { ; CHECK: f3: ; CHECK: chsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -56,7 +56,7 @@ define double @f4(double %a, double %b, i32 *%ptr) { define double @f5(double %a, double %b, i32 *%ptr) { ; CHECK: f5: ; CHECK: chsi 0(%r2), -1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -69,7 +69,7 @@ define double @f5(double %a, double %b, i32 *%ptr) { define double @f6(double %a, double %b, i32 *%ptr) { ; CHECK: f6: ; CHECK: chsi 0(%r2), -32768 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -93,7 +93,7 @@ define double @f7(double %a, double %b, i32 *%ptr) { define double @f8(double %a, double %b, i32 *%ptr) { ; CHECK: f8: ; CHECK: chsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -106,7 +106,7 @@ define double @f8(double %a, double %b, i32 *%ptr) { define double @f9(double %a, double %b, i32 *%ptr) { ; CHECK: f9: ; CHECK: chsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -119,7 +119,7 @@ define double @f9(double %a, double %b, i32 *%ptr) { define double @f10(double %a, double %b, i32 *%ptr) { ; CHECK: f10: ; CHECK: chsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -143,7 +143,7 @@ define double @f11(double %a, double %b, i32 *%ptr) { define double @f12(double %a, double %b, i32 *%ptr) { ; CHECK: f12: ; CHECK: chsi 0(%r2), -1 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -156,7 +156,7 @@ define double @f12(double %a, double %b, i32 *%ptr) { define double @f13(double %a, double %b, i32 *%ptr) { ; CHECK: f13: ; CHECK: chsi 0(%r2), -32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -180,7 +180,7 @@ define double @f14(double %a, double %b, i32 *%ptr) { define double @f15(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f15: ; CHECK: chsi 4092(%r3), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1023 @@ -195,7 +195,7 @@ define double @f16(double %a, double %b, i32 *%base) { ; CHECK: f16: ; CHECK: aghi %r2, 4096 ; CHECK: chsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1024 @@ -210,7 +210,7 @@ define double @f17(double %a, double %b, i32 *%base) { ; CHECK: f17: ; CHECK: aghi %r2, -4 ; CHECK: chsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -1 @@ -225,7 +225,7 @@ define double @f18(double %a, double %b, i64 %base, i64 %index) { ; CHECK: f18: ; CHECK: agr {{%r2, %r3|%r3, %r2}} ; CHECK: chsi 0({{%r[23]}}), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-33.ll b/test/CodeGen/SystemZ/int-cmp-33.ll index 0144806..2c1a26e 100644 --- a/test/CodeGen/SystemZ/int-cmp-33.ll +++ b/test/CodeGen/SystemZ/int-cmp-33.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i32 *%ptr) { ; CHECK: f1: ; CHECK: clfhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i32 *%ptr) { define double @f2(double %a, double %b, i32 *%ptr) { ; CHECK: f2: ; CHECK: clfhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i32 *%ptr) { define double @f4(double %a, double %b, i32 *%ptr) { ; CHECK: f4: ; CHECK: clfhsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i32 *%ptr) { define double @f5(double %a, double %b, i32 *%ptr) { ; CHECK: f5: ; CHECK: clfhsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i32 *%ptr @@ -82,7 +82,7 @@ define double @f6(double %a, double %b, i32 *%ptr) { define double @f7(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK: f7: ; CHECK: clfhsi 4092(%r3), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1023 @@ -97,7 +97,7 @@ define double @f8(double %a, double %b, i32 *%base) { ; CHECK: f8: ; CHECK: aghi %r2, 4096 ; CHECK: clfhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 1024 @@ -112,7 +112,7 @@ define double @f9(double %a, double %b, i32 *%base) { ; CHECK: f9: ; CHECK: aghi %r2, -4 ; CHECK: clfhsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i32 *%base, i64 -1 @@ -127,7 +127,7 @@ define double @f10(double %a, double %b, i64 %base, i64 %index) { ; CHECK: f10: ; CHECK: agr {{%r2, %r3|%r3, %r2}} ; CHECK: clfhsi 0({{%r[23]}}), 1 -; CHECK-NEXT: j{{g?}}h +; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-34.ll b/test/CodeGen/SystemZ/int-cmp-34.ll index b10bd4e..ff0914a 100644 --- a/test/CodeGen/SystemZ/int-cmp-34.ll +++ b/test/CodeGen/SystemZ/int-cmp-34.ll @@ -6,7 +6,7 @@ define double @f1(double %a, double %b, i64 *%ptr) { ; CHECK: f1: ; CHECK: cghsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -19,7 +19,7 @@ define double @f1(double %a, double %b, i64 *%ptr) { define double @f2(double %a, double %b, i64 *%ptr) { ; CHECK: f2: ; CHECK: cghsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -32,7 +32,7 @@ define double @f2(double %a, double %b, i64 *%ptr) { define double @f3(double %a, double %b, i64 *%ptr) { ; CHECK: f3: ; CHECK: cghsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -56,7 +56,7 @@ define double @f4(double %a, double %b, i64 *%ptr) { define double @f5(double %a, double %b, i64 *%ptr) { ; CHECK: f5: ; CHECK: cghsi 0(%r2), -1 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -69,7 +69,7 @@ define double @f5(double %a, double %b, i64 *%ptr) { define double @f6(double %a, double %b, i64 *%ptr) { ; CHECK: f6: ; CHECK: cghsi 0(%r2), -32768 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -93,7 +93,7 @@ define double @f7(double %a, double %b, i64 *%ptr) { define double @f8(double %a, double %b, i64 *%ptr) { ; CHECK: f8: ; CHECK: cghsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -106,7 +106,7 @@ define double @f8(double %a, double %b, i64 *%ptr) { define double @f9(double %a, double %b, i64 *%ptr) { ; CHECK: f9: ; CHECK: cghsi 0(%r2), 1 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -119,7 +119,7 @@ define double @f9(double %a, double %b, i64 *%ptr) { define double @f10(double %a, double %b, i64 *%ptr) { ; CHECK: f10: ; CHECK: cghsi 0(%r2), 32767 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -143,7 +143,7 @@ define double @f11(double %a, double %b, i64 *%ptr) { define double @f12(double %a, double %b, i64 *%ptr) { ; CHECK: f12: ; CHECK: cghsi 0(%r2), -1 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -156,7 +156,7 @@ define double @f12(double %a, double %b, i64 *%ptr) { define double @f13(double %a, double %b, i64 *%ptr) { ; CHECK: f13: ; CHECK: cghsi 0(%r2), -32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -180,7 +180,7 @@ define double @f14(double %a, double %b, i64 *%ptr) { define double @f15(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f15: ; CHECK: cghsi 4088(%r3), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 511 @@ -195,7 +195,7 @@ define double @f16(double %a, double %b, i64 *%base) { ; CHECK: f16: ; CHECK: aghi %r2, 4096 ; CHECK: cghsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 512 @@ -210,7 +210,7 @@ define double @f17(double %a, double %b, i64 *%base) { ; CHECK: f17: ; CHECK: aghi %r2, -8 ; CHECK: cghsi 0(%r2), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -1 @@ -225,7 +225,7 @@ define double @f18(double %a, double %b, i64 %base, i64 %index) { ; CHECK: f18: ; CHECK: agr {{%r2, %r3|%r3, %r2}} ; CHECK: cghsi 0({{%r[23]}}), 0 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-35.ll b/test/CodeGen/SystemZ/int-cmp-35.ll index 9934906..b74d67e 100644 --- a/test/CodeGen/SystemZ/int-cmp-35.ll +++ b/test/CodeGen/SystemZ/int-cmp-35.ll @@ -7,7 +7,7 @@ define double @f1(double %a, double %b, i64 *%ptr) { ; CHECK: f1: ; CHECK: clghsi 0(%r2), 2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -20,7 +20,7 @@ define double @f1(double %a, double %b, i64 *%ptr) { define double @f2(double %a, double %b, i64 *%ptr) { ; CHECK: f2: ; CHECK: clghsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -45,7 +45,7 @@ define double @f3(double %a, double %b, i64 *%ptr) { define double @f4(double %a, double %b, i64 *%ptr) { ; CHECK: f4: ; CHECK: clghsi 0(%r2), 32768 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -58,7 +58,7 @@ define double @f4(double %a, double %b, i64 *%ptr) { define double @f5(double %a, double %b, i64 *%ptr) { ; CHECK: f5: ; CHECK: clghsi 0(%r2), 65535 -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %val = load i64 *%ptr @@ -82,7 +82,7 @@ define double @f6(double %a, double %b, i64 *%ptr) { define double @f7(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK: f7: ; CHECK: clghsi 4088(%r3), 2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 511 @@ -97,7 +97,7 @@ define double @f8(double %a, double %b, i64 *%base) { ; CHECK: f8: ; CHECK: aghi %r2, 4096 ; CHECK: clghsi 0(%r2), 2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 512 @@ -112,7 +112,7 @@ define double @f9(double %a, double %b, i64 *%base) { ; CHECK: f9: ; CHECK: aghi %r2, -8 ; CHECK: clghsi 0(%r2), 2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %ptr = getelementptr i64 *%base, i64 -1 @@ -127,7 +127,7 @@ define double @f10(double %a, double %b, i64 %base, i64 %index) { ; CHECK: f10: ; CHECK: agr {{%r2, %r3|%r3, %r2}} ; CHECK: clghsi 0({{%r[23]}}), 2 -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 %add = add i64 %base, %index diff --git a/test/CodeGen/SystemZ/int-cmp-36.ll b/test/CodeGen/SystemZ/int-cmp-36.ll index 0813594..9c8cd81 100644 --- a/test/CodeGen/SystemZ/int-cmp-36.ll +++ b/test/CodeGen/SystemZ/int-cmp-36.ll @@ -9,7 +9,7 @@ define i32 @f1(i32 %src1) { ; CHECK: f1: ; CHECK: chrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %val = load i16 *@g @@ -46,7 +46,7 @@ exit: define i32 @f3(i32 %src1) { ; CHECK: f3: ; CHECK: chrl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %val = load i16 *@g @@ -65,7 +65,7 @@ exit: define i32 @f4(i32 %src1) { ; CHECK: f4: ; CHECK: chrl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %val = load i16 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-37.ll b/test/CodeGen/SystemZ/int-cmp-37.ll index aebd1f6..862cf38 100644 --- a/test/CodeGen/SystemZ/int-cmp-37.ll +++ b/test/CodeGen/SystemZ/int-cmp-37.ll @@ -9,7 +9,7 @@ define i32 @f1(i32 %src1) { ; CHECK: f1: ; CHECK: clhrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %val = load i16 *@g @@ -46,7 +46,7 @@ exit: define i32 @f3(i32 %src1) { ; CHECK: f3: ; CHECK: clhrl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %val = load i16 *@g @@ -65,7 +65,7 @@ exit: define i32 @f4(i32 %src1) { ; CHECK: f4: ; CHECK: clhrl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %val = load i16 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-38.ll b/test/CodeGen/SystemZ/int-cmp-38.ll index 3470730..3e1ebfb 100644 --- a/test/CodeGen/SystemZ/int-cmp-38.ll +++ b/test/CodeGen/SystemZ/int-cmp-38.ll @@ -9,7 +9,7 @@ define i32 @f1(i32 %src1) { ; CHECK: f1: ; CHECK: crl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %src2 = load i32 *@g @@ -27,7 +27,7 @@ exit: define i32 @f2(i32 %src1) { ; CHECK: f2: ; CHECK: clrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %src2 = load i32 *@g @@ -45,7 +45,7 @@ exit: define i32 @f3(i32 %src1) { ; CHECK: f3: ; CHECK: c{{l?}}rl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %src2 = load i32 *@g @@ -63,7 +63,7 @@ exit: define i32 @f4(i32 %src1) { ; CHECK: f4: ; CHECK: c{{l?}}rl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %src2 = load i32 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-39.ll b/test/CodeGen/SystemZ/int-cmp-39.ll index 1129dce..7d654ee 100644 --- a/test/CodeGen/SystemZ/int-cmp-39.ll +++ b/test/CodeGen/SystemZ/int-cmp-39.ll @@ -9,7 +9,7 @@ define i64 @f1(i64 %src1) { ; CHECK: f1: ; CHECK: cghrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %val = load i16 *@g @@ -46,7 +46,7 @@ exit: define i64 @f3(i64 %src1) { ; CHECK: f3: ; CHECK: cghrl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %val = load i16 *@g @@ -65,7 +65,7 @@ exit: define i64 @f4(i64 %src1) { ; CHECK: f4: ; CHECK: cghrl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %val = load i16 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-40.ll b/test/CodeGen/SystemZ/int-cmp-40.ll index 8d9fd9a..6c179cc 100644 --- a/test/CodeGen/SystemZ/int-cmp-40.ll +++ b/test/CodeGen/SystemZ/int-cmp-40.ll @@ -9,7 +9,7 @@ define i64 @f1(i64 %src1) { ; CHECK: f1: ; CHECK: clghrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %val = load i16 *@g @@ -46,7 +46,7 @@ exit: define i64 @f3(i64 %src1) { ; CHECK: f3: ; CHECK: clghrl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %val = load i16 *@g @@ -65,7 +65,7 @@ exit: define i64 @f4(i64 %src1) { ; CHECK: f4: ; CHECK: clghrl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %val = load i16 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-41.ll b/test/CodeGen/SystemZ/int-cmp-41.ll index 0808bff..e2bdcad 100644 --- a/test/CodeGen/SystemZ/int-cmp-41.ll +++ b/test/CodeGen/SystemZ/int-cmp-41.ll @@ -9,7 +9,7 @@ define i64 @f1(i64 %src1) { ; CHECK: f1: ; CHECK: cgfrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %val = load i32 *@g @@ -46,7 +46,7 @@ exit: define i64 @f3(i64 %src1) { ; CHECK: f3: ; CHECK: cgfrl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %val = load i32 *@g @@ -65,7 +65,7 @@ exit: define i64 @f4(i64 %src1) { ; CHECK: f4: ; CHECK: cgfrl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %val = load i32 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-42.ll b/test/CodeGen/SystemZ/int-cmp-42.ll index 5c67581..dbdf91d 100644 --- a/test/CodeGen/SystemZ/int-cmp-42.ll +++ b/test/CodeGen/SystemZ/int-cmp-42.ll @@ -9,7 +9,7 @@ define i64 @f1(i64 %src1) { ; CHECK: f1: ; CHECK: clgfrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %val = load i32 *@g @@ -46,7 +46,7 @@ exit: define i64 @f3(i64 %src1) { ; CHECK: f3: ; CHECK: clgfrl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %val = load i32 *@g @@ -65,7 +65,7 @@ exit: define i64 @f4(i64 %src1) { ; CHECK: f4: ; CHECK: clgfrl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %val = load i32 *@g diff --git a/test/CodeGen/SystemZ/int-cmp-43.ll b/test/CodeGen/SystemZ/int-cmp-43.ll index f387293..3df25fa 100644 --- a/test/CodeGen/SystemZ/int-cmp-43.ll +++ b/test/CodeGen/SystemZ/int-cmp-43.ll @@ -9,7 +9,7 @@ define i64 @f1(i64 %src1) { ; CHECK: f1: ; CHECK: cgrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %src2 = load i64 *@g @@ -27,7 +27,7 @@ exit: define i64 @f2(i64 %src1) { ; CHECK: f2: ; CHECK: clgrl %r2, g -; CHECK-NEXT: j{{g?}}l +; CHECK-NEXT: jl ; CHECK: br %r14 entry: %src2 = load i64 *@g @@ -45,7 +45,7 @@ exit: define i64 @f3(i64 %src1) { ; CHECK: f3: ; CHECK: c{{l?}}grl %r2, g -; CHECK-NEXT: j{{g?}}e +; CHECK-NEXT: je ; CHECK: br %r14 entry: %src2 = load i64 *@g @@ -63,7 +63,7 @@ exit: define i64 @f4(i64 %src1) { ; CHECK: f4: ; CHECK: c{{l?}}grl %r2, g -; CHECK-NEXT: j{{g?}}lh +; CHECK-NEXT: jlh ; CHECK: br %r14 entry: %src2 = load i64 *@g |