diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-18 09:56:40 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-18 09:56:40 +0000 |
commit | e2d6f91d63a2e8cf77b07794cda7d9ef72504769 (patch) | |
tree | 8aaa9c82d2ca65020e98eb5954302f1e01a81e2a /test/CodeGen/SystemZ/int-cmp-20.ll | |
parent | 8634b0ee47be832fbf3fd6ceebb8ac9104106bc2 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/int-cmp-20.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-cmp-20.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/SystemZ/int-cmp-20.ll b/test/CodeGen/SystemZ/int-cmp-20.ll index 7ecde77ddd4..98c41cd3a24 100644 --- a/test/CodeGen/SystemZ/int-cmp-20.ll +++ b/test/CodeGen/SystemZ/int-cmp-20.ll @@ -63,7 +63,7 @@ define double @f4(double %a, double %b, i8 *%ptr) { ; extension. The condition is always true. define double @f5(double %a, double %b, i8 *%ptr) { ; CHECK-LABEL: f5: -; CHECK-NOT: cli +; CHECK-NOT: cli {{.*}} ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 @@ -79,7 +79,7 @@ define double @f5(double %a, double %b, i8 *%ptr) { ; and simply ignore CLI for this range. First check the low end of the range. define double @f6(double %a, double %b, i8 *%ptr) { ; CHECK-LABEL: f6: -; CHECK-NOT: cli +; CHECK-NOT: cli {{.*}} ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -91,7 +91,7 @@ define double @f6(double %a, double %b, i8 *%ptr) { ; ...and then the high end. define double @f7(double %a, double %b, i8 *%ptr) { ; CHECK-LABEL: f7: -; CHECK-NOT: cli +; CHECK-NOT: cli {{.*}} ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -118,7 +118,7 @@ define double @f8(double %a, double %b, i8 *%ptr) { ; extension. This cannot use CLI. define double @f9(double %a, double %b, i8 *%ptr) { ; CHECK-LABEL: f9: -; CHECK-NOT: cli +; CHECK-NOT: cli {{.*}} ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -145,7 +145,7 @@ define double @f10(double %a, double %b, i8 *%ptr) { ; extension. This cannot use CLI. define double @f11(double %a, double %b, i8 *%ptr) { ; CHECK-LABEL: f11: -; CHECK-NOT: cli +; CHECK-NOT: cli {{.*}} ; CHECK: br %r14 %val = load i8 *%ptr %ext = sext i8 %val to i32 @@ -158,7 +158,7 @@ define double @f11(double %a, double %b, i8 *%ptr) { ; extension. The condition is always true. define double @f12(double %a, double %b, i8 *%ptr) { ; CHECK-LABEL: f12: -; CHECK-NOT: cli +; CHECK-NOT: cli {{.*}} ; CHECK: br %r14 %val = load i8 *%ptr %ext = zext i8 %val to i32 |