mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-22 12:08:26 +00:00
Update for new getBlockAddress signature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29cbade25a
commit
71a419631f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user