projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29cbade
)
Update for new getBlockAddress signature.
author
Dan Gohman
<gohman@apple.com>
Fri, 20 Nov 2009 23:21:00 +0000
(23:21 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 20 Nov 2009 23:21:00 +0000
(23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89507
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
b/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
index c0084be9179597c583e3d6206f2198e9e703a4f1..beccb2ca58406bd010ba77c4f433c8ee6c82de7e 100644
(file)
--- a/
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
+++ b/
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
@@
-312,8
+312,8
@@
bool MSP430DAGToDAGISel::SelectAddr(SDValue Op, SDValue N,
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);