[llvm] r300683 - Regenerate test. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 05:06:42 PDT 2017
Author: rksimon
Date: Wed Apr 19 07:06:40 2017
New Revision: 300683
URL: http://llvm.org/viewvc/llvm-project?rev=300683&view=rev
Log:
Regenerate test. NFCI.
Modified:
llvm/trunk/test/Transforms/InstCombine/pr32686.ll
Modified: llvm/trunk/test/Transforms/InstCombine/pr32686.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/pr32686.ll?rev=300683&r1=300682&r2=300683&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/pr32686.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/pr32686.ll Wed Apr 19 07:06:40 2017
@@ -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
More information about the llvm-commits
mailing list