This repository was archived by the owner on Mar 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-47
lines changed Expand file tree Collapse file tree 1 file changed +13
-47
lines changed Original file line number Diff line number Diff line change @@ -932,55 +932,21 @@ void HexagonDAGToDAGISel::SelectBitcast(SDNode *N) {
932
932
933
933
934
934
void HexagonDAGToDAGISel::Select (SDNode *N) {
935
- if (N->isMachineOpcode ()) {
936
- N->setNodeId (-1 );
937
- return ; // Already selected.
938
- }
935
+ if (N->isMachineOpcode ())
936
+ return N->setNodeId (-1 ); // Already selected.
939
937
940
938
switch (N->getOpcode ()) {
941
- case ISD::Constant:
942
- SelectConstant (N);
943
- return ;
944
-
945
- case ISD::ConstantFP:
946
- SelectConstantFP (N);
947
- return ;
948
-
949
- case ISD::FrameIndex:
950
- SelectFrameIndex (N);
951
- return ;
952
-
953
- case ISD::BITCAST:
954
- SelectBitcast (N);
955
- return ;
956
-
957
- case ISD::SHL:
958
- SelectSHL (N);
959
- return ;
960
-
961
- case ISD::LOAD:
962
- SelectLoad (N);
963
- return ;
964
-
965
- case ISD::STORE:
966
- SelectStore (N);
967
- return ;
968
-
969
- case ISD::MUL:
970
- SelectMul (N);
971
- return ;
972
-
973
- case ISD::ZERO_EXTEND:
974
- SelectZeroExtend (N);
975
- return ;
976
-
977
- case ISD::INTRINSIC_W_CHAIN:
978
- SelectIntrinsicWChain (N);
979
- return ;
980
-
981
- case ISD::INTRINSIC_WO_CHAIN:
982
- SelectIntrinsicWOChain (N);
983
- return ;
939
+ case ISD::Constant: return SelectConstant (N);
940
+ case ISD::ConstantFP: return SelectConstantFP (N);
941
+ case ISD::FrameIndex: return SelectFrameIndex (N);
942
+ case ISD::BITCAST: return SelectBitcast (N);
943
+ case ISD::SHL: return SelectSHL (N);
944
+ case ISD::LOAD: return SelectLoad (N);
945
+ case ISD::STORE: return SelectStore (N);
946
+ case ISD::MUL: return SelectMul (N);
947
+ case ISD::ZERO_EXTEND: return SelectZeroExtend (N);
948
+ case ISD::INTRINSIC_W_CHAIN: return SelectIntrinsicWChain (N);
949
+ case ISD::INTRINSIC_WO_CHAIN: return SelectIntrinsicWOChain (N);
984
950
}
985
951
986
952
SelectCode (N);
You can’t perform that action at this time.
0 commit comments