[llvm] r175771 - Trivial cleanup
Bill Schmidt
wschmidt at linux.vnet.ibm.com
Thu Feb 21 09:26:05 PST 2013
Author: wschmidt
Date: Thu Feb 21 11:26:05 2013
New Revision: 175771
URL: http://llvm.org/viewvc/llvm-project?rev=175771&view=rev
Log:
Trivial cleanup
Modified:
llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp?rev=175771&r1=175770&r2=175771&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Thu Feb 21 11:26:05 2013
@@ -1529,8 +1529,8 @@ void PPCDAGToDAGISel::PostprocessISelDAG
DebugLoc dl = GA->getDebugLoc();
const GlobalValue *GV = GA->getGlobal();
ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, 0, Flags);
- }
- else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(ImmOpnd)) {
+ } else if (ConstantPoolSDNode *CP =
+ dyn_cast<ConstantPoolSDNode>(ImmOpnd)) {
const Constant *C = CP->getConstVal();
ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64,
CP->getAlignment(),
More information about the llvm-commits
mailing list