summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SystemZ/int-cmp-40.ll
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-09-18 09:56:40 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-09-18 09:56:40 +0000
commit93183ee78c5850cc475f537ca14dd0a83c009bbf (patch)
treeac2d3378a8e73e7b26f3e3d53df6604e64cf2e0d /llvm/test/CodeGen/SystemZ/int-cmp-40.ll
parent36b2e5de3c3333507dd6d0cd4684859ce0cc010a (diff)
downloadbcm5719-llvm-93183ee78c5850cc475f537ca14dd0a83c009bbf.tar.gz
bcm5719-llvm-93183ee78c5850cc475f537ca14dd0a83c009bbf.zip
[SystemZ] Add unsigned compare-and-branch instructions
For some reason I never got around to adding these at the same time as the signed versions. No idea why. I'm not sure whether this SystemZII::BranchC* stuff is useful, or whether it should just be replaced with an "is normal" flag. I'll leave that for later though. There are some boundary conditions that can be tweaked, such as preferring unsigned comparisons for equality with [128, 256), and "<= 255" over "< 256", but again I'll leave those for a separate patch. llvm-svn: 190930
Diffstat (limited to 'llvm/test/CodeGen/SystemZ/int-cmp-40.ll')
-rw-r--r--llvm/test/CodeGen/SystemZ/int-cmp-40.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/int-cmp-40.ll b/llvm/test/CodeGen/SystemZ/int-cmp-40.ll
index 201d8b2fb98..9c532f1cbc6 100644
--- a/llvm/test/CodeGen/SystemZ/int-cmp-40.ll
+++ b/llvm/test/CodeGen/SystemZ/int-cmp-40.ll
@@ -86,8 +86,7 @@ define i64 @f5(i64 %src1) {
; CHECK-LABEL: f5:
; CHECK: lgrl [[REG:%r[0-5]]], h@GOT
; CHECK: llgh [[VAL:%r[0-5]]], 0([[REG]])
-; CHECK: clgr %r2, [[VAL]]
-; CHECK-NEXT: jl
+; CHECK: clgrjl %r2, [[VAL]],
; CHECK: br %r14
entry:
%val = load i16 *@h, align 1
OpenPOWER on IntegriCloud