summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
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
commit5a29c367f73ad139fcf1b5a8a80fc6425a91755d (patch)
treef78437b558c71496e753530994ceb6263dc30ece /llvm/lib/Target/Sparc
parentfb334381159cb22327e30277fc59f9c8a8cf9fee (diff)
downloadbcm5719-llvm-5a29c367f73ad139fcf1b5a8a80fc6425a91755d.tar.gz
bcm5719-llvm-5a29c367f73ad139fcf1b5a8a80fc6425a91755d.zip
Instead of littering asserts throughout the code after every call to
computeKnownBits, consolidate them into one assert at the end of computeKnownBits itself. llvm-svn: 208876
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index b934c251f10..e396de9bb55 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud