Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit d713c0f

Browse files
committed
Capitalize lowerTRUNCATE so that it matches the other lower functions in this file despite it not matching coding standards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172994 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 053a211 commit d713c0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8379,7 +8379,7 @@ SDValue X86TargetLowering::LowerZERO_EXTEND(SDValue Op,
83798379
return DAG.getNode(ISD::CONCAT_VECTORS, DL, MVT::v8i32, Lo, Hi);
83808380
}
83818381

8382-
SDValue X86TargetLowering::lowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const {
8382+
SDValue X86TargetLowering::LowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const {
83838383
DebugLoc DL = Op.getDebugLoc();
83848384
EVT VT = Op.getValueType();
83858385
SDValue In = Op.getOperand(0);
@@ -12024,7 +12024,7 @@ SDValue X86TargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const {
1202412024
case ISD::SRL_PARTS: return LowerShiftParts(Op, DAG);
1202512025
case ISD::SINT_TO_FP: return LowerSINT_TO_FP(Op, DAG);
1202612026
case ISD::UINT_TO_FP: return LowerUINT_TO_FP(Op, DAG);
12027-
case ISD::TRUNCATE: return lowerTRUNCATE(Op, DAG);
12027+
case ISD::TRUNCATE: return LowerTRUNCATE(Op, DAG);
1202812028
case ISD::ZERO_EXTEND: return LowerZERO_EXTEND(Op, DAG);
1202912029
case ISD::SIGN_EXTEND: return LowerSIGN_EXTEND(Op, DAG);
1203012030
case ISD::ANY_EXTEND: return LowerANY_EXTEND(Op, DAG);

lib/Target/X86/X86ISelLowering.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ namespace llvm {
809809
SDValue LowerUINT_TO_FP_i64(SDValue Op, SelectionDAG &DAG) const;
810810
SDValue LowerUINT_TO_FP_i32(SDValue Op, SelectionDAG &DAG) const;
811811
SDValue lowerUINT_TO_FP_vec(SDValue Op, SelectionDAG &DAG) const;
812-
SDValue lowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const;
812+
SDValue LowerTRUNCATE(SDValue Op, SelectionDAG &DAG) const;
813813
SDValue LowerZERO_EXTEND(SDValue Op, SelectionDAG &DAG) const;
814814
SDValue LowerSIGN_EXTEND(SDValue Op, SelectionDAG &DAG) const;
815815
SDValue LowerANY_EXTEND(SDValue Op, SelectionDAG &DAG) const;

0 commit comments

Comments
 (0)