fix inverted conditional

llvm-svn: 27089
This commit is contained in:
Chris Lattner 2006-03-24 22:49:42 +00:00
parent bb84eae239
commit 313229c74b
1 changed files with 2 additions and 2 deletions

View File

@ -599,7 +599,7 @@ SDOperand SelectionDAGLowering::getValue(const Value *V) {
assert(TLI.isTypeLegal(TVT) && assert(TLI.isTypeLegal(TVT) &&
"FIXME: Cannot handle illegal vector types here yet!"); "FIXME: Cannot handle illegal vector types here yet!");
VT = TVT; VT = TVT;
} }
MVT::ValueType DestVT = TLI.getTypeToTransformTo(VT); MVT::ValueType DestVT = TLI.getTypeToTransformTo(VT);
@ -1015,7 +1015,7 @@ static bool IntrinsicCannotAccessMemory(unsigned IntrinsicID) {
/// node. /// node.
void SelectionDAGLowering::visitTargetIntrinsic(CallInst &I, void SelectionDAGLowering::visitTargetIntrinsic(CallInst &I,
unsigned Intrinsic) { unsigned Intrinsic) {
bool HasChain = IntrinsicCannotAccessMemory(Intrinsic); bool HasChain = !IntrinsicCannotAccessMemory(Intrinsic);
// Build the operand list. // Build the operand list.
std::vector<SDOperand> Ops; std::vector<SDOperand> Ops;