forked from OSchip/llvm-project
[LegalizeDAG] Use getOperationAction instead of getStrictFPOperationAction for STRICT_LRINT/LROUND/LLRINT/LLROUND.
This commit is contained in:
parent
fe955e6c70
commit
ee3b375b4c
|
@ -1023,8 +1023,8 @@ void SelectionDAGLegalize::LegalizeOp(SDNode *Node) {
|
|||
// These pseudo-ops are the same as the other STRICT_ ops except
|
||||
// they are registered with setOperationAction() using the input type
|
||||
// instead of the output type.
|
||||
Action = TLI.getStrictFPOperationAction(Node->getOpcode(),
|
||||
Node->getOperand(1).getValueType());
|
||||
Action = TLI.getOperationAction(Node->getOpcode(),
|
||||
Node->getOperand(1).getValueType());
|
||||
break;
|
||||
case ISD::SIGN_EXTEND_INREG: {
|
||||
EVT InnerType = cast<VTSDNode>(Node->getOperand(1))->getVT();
|
||||
|
|
Loading…
Reference in New Issue