From b8a2042aa938069e862750553db0e4d82d25822c Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 28 Dec 2017 23:57:18 +0000 Subject: Vendor import of llvm trunk r321545: https://llvm.org/svn/llvm-project/llvm/trunk@321545 --- include/llvm/Support/KnownBits.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/llvm/Support/KnownBits.h') diff --git a/include/llvm/Support/KnownBits.h b/include/llvm/Support/KnownBits.h index 7a4de3e5ff12..97e73b13fca3 100644 --- a/include/llvm/Support/KnownBits.h +++ b/include/llvm/Support/KnownBits.h @@ -100,13 +100,11 @@ public: /// Make this value negative. void makeNegative() { - assert(!isNonNegative() && "Can't make a non-negative value negative"); One.setSignBit(); } /// Make this value negative. void makeNonNegative() { - assert(!isNegative() && "Can't make a negative value non-negative"); Zero.setSignBit(); } -- cgit v1.2.3