We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bdce09 commit 83cf5d1Copy full SHA for 83cf5d1
llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
@@ -270,7 +270,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_EXTRACT_ELEMENT(SDNode *N) {
270
"In floats only ppcf128 can be extracted by element!");
271
return DAG.getNode(ISD::EXTRACT_ELEMENT, SDLoc(N),
272
N->getValueType(0).changeTypeToInteger(),
273
- Src.getOperand(0), N->getOperand(1));
+ DAG.getBitcast(MVT::i128, Src), N->getOperand(1));
274
}
275
276
SDValue DAGTypeLegalizer::SoftenFloatRes_EXTRACT_VECTOR_ELT(SDNode *N, unsigned ResNo) {
0 commit comments