From 5a29c367f73ad139fcf1b5a8a80fc6425a91755d Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Thu, 15 May 2014 12:12:55 +0000 Subject: 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 --- llvm/lib/Target/Sparc/SparcISelLowering.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Target/Sparc') 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; -- cgit v1.2.3