Skip to content

Commit 71dd9b5

Browse files
committed
Revert "Verkfy llvm.experimental.memset.pattern pattern arg is integral number of bytes"
This reverts commit 78bad3b.
1 parent 78bad3b commit 71dd9b5

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5519,12 +5519,8 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
55195519
case Intrinsic::memcpy_inline:
55205520
case Intrinsic::memmove:
55215521
case Intrinsic::memset:
5522-
case Intrinsic::memset_inline: {
5523-
break;
5524-
}
5522+
case Intrinsic::memset_inline:
55255523
case Intrinsic::experimental_memset_pattern: {
5526-
Check(Call.getOperand(1)->getType()->getScalarSizeInBits() % 8 == 0,
5527-
"pattern type must be an integral number of bytes", Call);
55285524
break;
55295525
}
55305526
case Intrinsic::memcpy_element_unordered_atomic:

llvm/test/Verifier/memset-pattern-pattern-size.ll

Lines changed: 0 additions & 9 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)