aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-28 23:57:18 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-28 23:57:18 +0000
commitb8a2042aa938069e862750553db0e4d82d25822c (patch)
tree8acb3313c9e21902b08a931a708ba405aa157b31 /include/llvm
parentb2b7c066a48f61ec67332fb797a20bb04901c83d (diff)
downloadsrc-b8a2042aa938069e862750553db0e4d82d25822c.tar.gz
src-b8a2042aa938069e862750553db0e4d82d25822c.zip
Vendor import of llvm trunk r321545:vendor/llvm/llvm-trunk-r321545
Notes
Notes: svn path=/vendor/llvm/dist/; revision=327320 svn path=/vendor/llvm/llvm-trunk-r321545/; revision=327321; tag=vendor/llvm/llvm-trunk-r321545
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/KnownBits.h2
1 files changed, 0 insertions, 2 deletions
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();
}