mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
fix inverted conditional
llvm-svn: 27089
This commit is contained in:
parent
37a8c245ce
commit
1e4694ed84
@ -599,7 +599,7 @@ SDOperand SelectionDAGLowering::getValue(const Value *V) {
|
||||
assert(TLI.isTypeLegal(TVT) &&
|
||||
"FIXME: Cannot handle illegal vector types here yet!");
|
||||
VT = TVT;
|
||||
}
|
||||
}
|
||||
|
||||
MVT::ValueType DestVT = TLI.getTypeToTransformTo(VT);
|
||||
|
||||
@ -1015,7 +1015,7 @@ static bool IntrinsicCannotAccessMemory(unsigned IntrinsicID) {
|
||||
/// node.
|
||||
void SelectionDAGLowering::visitTargetIntrinsic(CallInst &I,
|
||||
unsigned Intrinsic) {
|
||||
bool HasChain = IntrinsicCannotAccessMemory(Intrinsic);
|
||||
bool HasChain = !IntrinsicCannotAccessMemory(Intrinsic);
|
||||
|
||||
// Build the operand list.
|
||||
std::vector<SDOperand> Ops;
|
||||
|
Loading…
Reference in New Issue
Block a user