@@ -814,7 +814,7 @@ SDValue HexagonTargetLowering::LowerFormalArguments(
814814 // stack where the return value will be stored. For Hexagon, the location on
815815 // caller's stack is passed only when the struct size is smaller than (and
816816 // equal to) 8 bytes. If not, no address will be passed into callee and
817- // callee return the result direclty through R0/R1.
817+ // callee return the result directly through R0/R1.
818818 auto NextSingleReg = [] (const TargetRegisterClass &RC, unsigned Reg) {
819819 switch (RC.getID ()) {
820820 case Hexagon::IntRegsRegClassID:
@@ -979,7 +979,7 @@ HexagonTargetLowering::LowerVASTART(SDValue Op, SelectionDAG &DAG) const {
979979 // If first Vararg register is odd, add 4 bytes to start of
980980 // saved register area to point to the first register location.
981981 // This is because the saved register area has to be 8 byte aligned.
982- // Incase of an odd start register, there will be 4 bytes of padding in
982+ // In case of an odd start register, there will be 4 bytes of padding in
983983 // the beginning of saved register area. If all registers area used up,
984984 // the following condition will handle it correctly.
985985 SDValue SavedRegAreaStartFrameIndex =
@@ -1321,7 +1321,7 @@ HexagonTargetLowering::GetDynamicTLSAddr(SelectionDAG &DAG, SDValue Chain,
13211321}
13221322
13231323//
1324- // Lower using the intial executable model for TLS addresses
1324+ // Lower using the initial executable model for TLS addresses
13251325//
13261326SDValue
13271327HexagonTargetLowering::LowerToTLSInitialExecModel (GlobalAddressSDNode *GA,
@@ -3320,7 +3320,7 @@ HexagonTargetLowering::LowerEH_RETURN(SDValue Op, SelectionDAG &DAG) const {
33203320 Chain = DAG.getStore (Chain, dl, Handler, StoreAddr, MachinePointerInfo ());
33213321 Chain = DAG.getCopyToReg (Chain, dl, OffsetReg, Offset);
33223322
3323- // Not needed we already use it as explict input to EH_RETURN.
3323+ // Not needed we already use it as explicit input to EH_RETURN.
33243324 // MF.getRegInfo().addLiveOut(OffsetReg);
33253325
33263326 return DAG.getNode (HexagonISD::EH_RETURN, dl, MVT::Other, Chain);
0 commit comments