mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
[LegalizeDAG] Use getOperationAction instead of getStrictFPOperationAction for STRICT_LRINT/LROUND/LLRINT/LLROUND.
This commit is contained in:
parent
7abd1ce0a8
commit
1f2b42ab55
@ -1023,7 +1023,7 @@ void SelectionDAGLegalize::LegalizeOp(SDNode *Node) {
|
|||||||
// These pseudo-ops are the same as the other STRICT_ ops except
|
// These pseudo-ops are the same as the other STRICT_ ops except
|
||||||
// they are registered with setOperationAction() using the input type
|
// they are registered with setOperationAction() using the input type
|
||||||
// instead of the output type.
|
// instead of the output type.
|
||||||
Action = TLI.getStrictFPOperationAction(Node->getOpcode(),
|
Action = TLI.getOperationAction(Node->getOpcode(),
|
||||||
Node->getOperand(1).getValueType());
|
Node->getOperand(1).getValueType());
|
||||||
break;
|
break;
|
||||||
case ISD::SIGN_EXTEND_INREG: {
|
case ISD::SIGN_EXTEND_INREG: {
|
||||||
|
Loading…
Reference in New Issue
Block a user