[llvm] 3d852d1 - [NFC][PhaseOrdering] Re-autogenerate check lines in one test
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 30 08:41:15 PST 2022
Author: Roman Lebedev
Date: 2022-12-30T19:40:46+03:00
New Revision: 3d852d1e74fb039bbceded174edd548e80b6d79b
URL: https://github.com/llvm/llvm-project/commit/3d852d1e74fb039bbceded174edd548e80b6d79b
DIFF: https://github.com/llvm/llvm-project/commit/3d852d1e74fb039bbceded174edd548e80b6d79b.diff
LOG: [NFC][PhaseOrdering] Re-autogenerate check lines in one test
Added:
Modified:
llvm/test/Transforms/PhaseOrdering/cmp-logic.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/PhaseOrdering/cmp-logic.ll b/llvm/test/Transforms/PhaseOrdering/cmp-logic.ll
index 923ad9b473692..1d32e5df21ebd 100644
--- a/llvm/test/Transforms/PhaseOrdering/cmp-logic.ll
+++ b/llvm/test/Transforms/PhaseOrdering/cmp-logic.ll
@@ -9,8 +9,8 @@ target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16
define i32 @PR38781(i32 noundef %a, i32 noundef %b) {
; CHECK-LABEL: @PR38781(
; CHECK-NEXT: [[TMP1:%.*]] = or i32 [[B:%.*]], [[A:%.*]]
-; CHECK-NEXT: [[TMP2:%.*]] = icmp sgt i32 [[TMP1]], -1
-; CHECK-NEXT: [[AND:%.*]] = zext i1 [[TMP2]] to i32
+; CHECK-NEXT: [[AND1:%.*]] = icmp sgt i32 [[TMP1]], -1
+; CHECK-NEXT: [[AND:%.*]] = zext i1 [[AND1]] to i32
; CHECK-NEXT: ret i32 [[AND]]
;
%cmp = icmp sge i32 %a, 0
@@ -53,9 +53,9 @@ land.end:
define i1 @PR54692_b(i8 noundef signext %c) {
; CHECK-LABEL: @PR54692_b(
; CHECK-NEXT: entry:
-; CHECK-NEXT: [[TMP0:%.*]] = icmp ult i8 [[C:%.*]], 32
+; CHECK-NEXT: [[AND1:%.*]] = icmp ult i8 [[C:%.*]], 32
; CHECK-NEXT: [[CMP6:%.*]] = icmp eq i8 [[C]], 127
-; CHECK-NEXT: [[OR2:%.*]] = or i1 [[TMP0]], [[CMP6]]
+; CHECK-NEXT: [[OR2:%.*]] = or i1 [[AND1]], [[CMP6]]
; CHECK-NEXT: ret i1 [[OR2]]
;
entry:
@@ -77,9 +77,9 @@ entry:
define i1 @PR54692_c(i8 noundef signext %c) {
; CHECK-LABEL: @PR54692_c(
; CHECK-NEXT: entry:
-; CHECK-NEXT: [[TMP0:%.*]] = icmp ult i8 [[C:%.*]], 32
+; CHECK-NEXT: [[AND1:%.*]] = icmp ult i8 [[C:%.*]], 32
; CHECK-NEXT: [[CMP6:%.*]] = icmp eq i8 [[C]], 127
-; CHECK-NEXT: [[T0:%.*]] = or i1 [[TMP0]], [[CMP6]]
+; CHECK-NEXT: [[T0:%.*]] = or i1 [[AND1]], [[CMP6]]
; CHECK-NEXT: ret i1 [[T0]]
;
entry:
@@ -115,7 +115,7 @@ define i32 @PR56119(i32 %e.coerce) {
; O1-NEXT: [[CMP:%.*]] = icmp eq i32 [[REM]], 7
; O1-NEXT: br i1 [[CMP]], label [[IF_THEN:%.*]], label [[IF_END:%.*]]
; O1: if.then:
-; O1-NEXT: call void (...) @foo()
+; O1-NEXT: tail call void (...) @foo()
; O1-NEXT: br label [[IF_END]]
; O1: if.end:
; O1-NEXT: [[TMP0:%.*]] = load i32, ptr @c, align 4
More information about the llvm-commits
mailing list