summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2014-05-15 12:12:55 +0000
committerJay Foad <jay.foad@gmail.com>2014-05-15 12:12:55 +0000
commitb7ba5c2e2e9d8d381ea759c6d5dd43eba631006d (patch)
treefd56a218e9e60b565077a73a119cd212486a4ad5 /lib/Target
parent0a088b1fc5b98c303efdfe6103957b90c943b2e5 (diff)
Instead of littering asserts throughout the code after every call to
computeKnownBits, consolidate them into one assert at the end of computeKnownBits itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index b934c251f10..e396de9bb55 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -1724,8 +1724,6 @@ void SparcTargetLowering::computeKnownBitsForTargetNode
case SPISD::SELECT_FCC:
DAG.computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1);
DAG.computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1);
- assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?");
- assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
// Only known if known in both the LHS and RHS.
KnownOne &= KnownOne2;