[llvm] ead231d - [InstCombine] Fix typo in test (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 07:00:01 PDT 2022
Author: Nikita Popov
Date: 2022-04-21T15:58:51+02:00
New Revision: ead231dec0fc6c13f5f8209eaacfb06e0d0be433
URL: https://github.com/llvm/llvm-project/commit/ead231dec0fc6c13f5f8209eaacfb06e0d0be433
DIFF: https://github.com/llvm/llvm-project/commit/ead231dec0fc6c13f5f8209eaacfb06e0d0be433.diff
LOG: [InstCombine] Fix typo in test (NFC)
This is a copy paste mistake, this variant of the test was supposed
to use poison instead of undef.
Added:
Modified:
llvm/test/Transforms/InstCombine/memset.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/memset.ll b/llvm/test/Transforms/InstCombine/memset.ll
index 95048f5d95474..2cc26803f19bc 100644
--- a/llvm/test/Transforms/InstCombine/memset.ll
+++ b/llvm/test/Transforms/InstCombine/memset.ll
@@ -53,10 +53,10 @@ define void @memset_undef_volatile(i8* %p) {
define void @memset_poison(i8* %p) {
; CHECK-LABEL: @memset_poison(
-; CHECK-NEXT: call void @llvm.memset.p0i8.i32(i8* noundef nonnull align 1 dereferenceable(8) [[P:%.*]], i8 undef, i32 8, i1 false)
+; CHECK-NEXT: call void @llvm.memset.p0i8.i32(i8* noundef nonnull align 1 dereferenceable(8) [[P:%.*]], i8 poison, i32 8, i1 false)
; CHECK-NEXT: ret void
;
- call void @llvm.memset.p0i8.i32(i8* %p, i8 undef, i32 8, i1 false)
+ call void @llvm.memset.p0i8.i32(i8* %p, i8 poison, i32 8, i1 false)
ret void
}
More information about the llvm-commits
mailing list