forked from OSchip/llvm-project
parent
bb84eae239
commit
313229c74b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue