Skip to content

Commit f5d467c

Browse files
committed
!fixup remove changes to deref verification, remove tests
1 parent 8168e01 commit f5d467c

File tree

4 files changed

+5
-450
lines changed

4 files changed

+5
-450
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5536,15 +5536,6 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
55365536
"third argument should be an integer if present", Call);
55375537
continue;
55385538
}
5539-
if (Kind == Attribute::Dereferenceable) {
5540-
Check(ArgCount == 2,
5541-
"dereferenceable assumptions should have 2 arguments", Call);
5542-
Check(Call.getOperand(Elem.Begin)->getType()->isPointerTy(),
5543-
"first argument should be a pointer", Call);
5544-
Check(Call.getOperand(Elem.Begin + 1)->getType()->isIntegerTy(),
5545-
"second argument should be an integer", Call);
5546-
continue;
5547-
}
55485539
Check(ArgCount <= 2, "too many arguments", Call);
55495540
if (Kind == Attribute::None)
55505541
break;

0 commit comments

Comments
 (0)