[llvm-commits] [llvm] r108164 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon Jul 12 11:11:17 PDT 2010
Author: rafael
Date: Mon Jul 12 13:11:17 2010
New Revision: 108164
URL: http://llvm.org/viewvc/llvm-project?rev=108164&view=rev
Log:
Fix a typo and fit in 80 columns. Found by Bob Wilson.
Modified:
llvm/trunk/include/llvm/Target/TargetLowering.h
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=108164&r1=108163&r2=108164&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Mon Jul 12 13:11:17 2010
@@ -1527,7 +1527,7 @@
/// buffers
unsigned JumpBufAlignment;
- /// MinStackArgumentAlignment - The minimum alginment that any argument
+ /// MinStackArgumentAlignment - The minimum alignment that any argument
/// on the stack needs to have.
///
unsigned MinStackArgumentAlignment;
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=108164&r1=108163&r2=108164&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Mon Jul 12 13:11:17 2010
@@ -5670,10 +5670,11 @@
}
void SelectionDAGBuilder::visitVAArg(const VAArgInst &I) {
+ const TargetData &TD = *TLI.getTargetData();
SDValue V = DAG.getVAArg(TLI.getValueType(I.getType()), getCurDebugLoc(),
getRoot(), getValue(I.getOperand(0)),
DAG.getSrcValue(I.getOperand(0)),
- TLI.getTargetData()->getABITypeAlignment(I.getType()));
+ TD.getABITypeAlignment(I.getType()));
setValue(&I, V);
DAG.setRoot(V.getValue(1));
}
More information about the llvm-commits
mailing list