diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-04-19 12:06:40 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-04-19 12:06:40 +0000 |
commit | 5536ecd9f0a3d0aecbcb9f06daabde12b1ddf0b1 (patch) | |
tree | 491edaafdb5cf1dd09b29219ed63a58e510211fa /llvm/test/Transforms | |
parent | 78381043821aaf524e4eb8f13b735384e39e215f (diff) | |
download | bcm5719-llvm-5536ecd9f0a3d0aecbcb9f06daabde12b1ddf0b1.tar.gz bcm5719-llvm-5536ecd9f0a3d0aecbcb9f06daabde12b1ddf0b1.zip |
Regenerate test. NFCI.
llvm-svn: 300683
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r-- | llvm/test/Transforms/InstCombine/pr32686.ll | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/test/Transforms/InstCombine/pr32686.ll b/llvm/test/Transforms/InstCombine/pr32686.ll index 7abda234920..b2d2aff2fde 100644 --- a/llvm/test/Transforms/InstCombine/pr32686.ll +++ b/llvm/test/Transforms/InstCombine/pr32686.ll @@ -1,17 +1,18 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -S -instcombine %s | FileCheck %s -; CHECK-LABEL: define void @tinkywinky -; CHECK-NEXT: %patatino = load i8, i8* @a, align 1 -; CHECK-NEXT: %tobool = icmp eq i8 %patatino, 0 -; CHECK-NEXT: %1 = zext i1 %tobool to i32 -; CHECK-NEXT: %or1 = or i32 %1, or (i32 zext (i1 icmp ne (i32* bitcast (i8* @a to i32*), i32* @b) to i32), i32 2) -; CHECK-NEXT: store i32 %or1, i32* @b, align 4 -; CHECK-NEXT: ret void - @a = external global i8 @b = external global i32 define void @tinkywinky() { +; CHECK-LABEL: @tinkywinky( +; CHECK-NEXT: [[PATATINO:%.*]] = load i8, i8* @a, align 1 +; CHECK-NEXT: [[TOBOOL:%.*]] = icmp eq i8 [[PATATINO]], 0 +; CHECK-NEXT: [[TMP1:%.*]] = zext i1 [[TOBOOL]] to i32 +; CHECK-NEXT: [[OR1:%.*]] = or i32 [[TMP1]], or (i32 zext (i1 icmp ne (i32* bitcast (i8* @a to i32*), i32* @b) to i32), i32 2) +; CHECK-NEXT: store i32 [[OR1]], i32* @b, align 4 +; CHECK-NEXT: ret void +; %patatino = load i8, i8* @a %tobool = icmp ne i8 %patatino, 0 %lnot = xor i1 %tobool, true |