[llvm-commits] [llvm] r89507 - /llvm/trunk/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
Dan Gohman
gohman at apple.com
Fri Nov 20 15:21:00 PST 2009
Author: djg
Date: Fri Nov 20 17:21:00 2009
New Revision: 89507
URL: http://llvm.org/viewvc/llvm-project?rev=89507&view=rev
Log:
Update for new getBlockAddress signature.
Modified:
llvm/trunk/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp?rev=89507&r1=89506&r2=89507&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp Fri Nov 20 17:21:00 2009
@@ -312,8 +312,8 @@
else if (AM.JT != -1)
Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/);
else if (AM.BlockAddr)
- Disp = CurDAG->getBlockAddress(AM.BlockAddr, DebugLoc()/*MVT::i32*/,
- true /*AM.SymbolFlags*/);
+ Disp = CurDAG->getBlockAddress(AM.BlockAddr, MVT::i32,
+ true, 0/*AM.SymbolFlags*/);
else
Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i16);
More information about the llvm-commits
mailing list