diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-10-19 04:08:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-10-19 04:08:28 +0000 |
| commit | b193576bc6be02294af6a2e083274233b7448b9e (patch) | |
| tree | dcf55cab4f1d2e03b7caa4942815fa3b607fca93 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
| parent | d01b8ea4a57883e115cf1f09b7ac7f261ca736a6 (diff) | |
| download | bcm5719-llvm-b193576bc6be02294af6a2e083274233b7448b9e.tar.gz bcm5719-llvm-b193576bc6be02294af6a2e083274233b7448b9e.zip | |
comment fixes
llvm-svn: 43168
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index bf84349653d..bf0f46784a7 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -231,12 +231,12 @@ PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM) } if (TM.getSubtarget<PPCSubtarget>().use64BitRegs()) { - // 64 bit PowerPC implementations can support i64 types directly + // 64-bit PowerPC implementations can support i64 types directly addRegisterClass(MVT::i64, PPC::G8RCRegisterClass); // BUILD_PAIR can't be handled natively, and should be expanded to shl/or setOperationAction(ISD::BUILD_PAIR, MVT::i64, Expand); } else { - // 32 bit PowerPC wants to expand i64 shifts itself. + // 32-bit PowerPC wants to expand i64 shifts itself. setOperationAction(ISD::SHL_PARTS, MVT::i32, Custom); setOperationAction(ISD::SRA_PARTS, MVT::i32, Custom); setOperationAction(ISD::SRL_PARTS, MVT::i32, Custom); @@ -2105,7 +2105,7 @@ static SDOperand LowerFP_ROUND_INREG(SDOperand Op, SelectionDAG &DAG) { assert(Op.getValueType() == MVT::ppcf128); SDNode *Node = Op.Val; assert(Node->getOperand(0).getValueType() == MVT::ppcf128); - assert(Node->getOperand(0).Val->getOpcode()==ISD::BUILD_PAIR); + assert(Node->getOperand(0).Val->getOpcode() == ISD::BUILD_PAIR); SDOperand Lo = Node->getOperand(0).Val->getOperand(0); SDOperand Hi = Node->getOperand(0).Val->getOperand(1); |

