[PATCH] D104179: [NFC][LoopIdiom][LoopNest] Create LoopIdiomRecognize as a LoopNestPass
Yueh-Ting Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 15 23:58:58 PST 2021
eopXD added inline comments.
================
Comment at: llvm/test/Transforms/LoopIdiom/memset-runtime-64bit.ll:304
; CHECK-NEXT: [[WIDE_TRIP_COUNT10:%.*]] = zext i32 [[N]] to i64
-; CHECK-NEXT: [[TMP2:%.*]] = mul i64 [[TMP0]], [[TMP1]]
-; CHECK-NEXT: [[TMP3:%.*]] = zext i32 [[M]] to i64
-; CHECK-NEXT: [[TMP4:%.*]] = mul i64 [[TMP0]], [[TMP3]]
-; CHECK-NEXT: [[TMP5:%.*]] = shl i64 [[TMP4]], 2
-; CHECK-NEXT: [[TMP6:%.*]] = mul i64 [[TMP4]], [[WIDE_TRIP_COUNT10]]
-; CHECK-NEXT: [[TMP7:%.*]] = shl i64 [[TMP6]], 2
-; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* align 4 [[AR2]], i8 0, i64 [[TMP7]], i1 false)
+; CHECK-NEXT: [[TMP3:%.*]] = mul i64 [[TMP0]], [[TMP1]]
+; CHECK-NEXT: [[TMP4:%.*]] = zext i32 [[M]] to i64
----------------
The reason the IR changed is that the testing pass pipeline is adjusted. This patch is still an NFC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104179/new/
https://reviews.llvm.org/D104179
More information about the llvm-commits
mailing list