summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-27 19:20:47 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-27 19:20:47 +0000
commit2d7d6052c6ad166c3b87bb94972d814c06169312 (patch)
tree3304e4dcc9583d833f7a8d33d343780500cbda6d /llvm/lib/CodeGen
parent42a0d8c6ef9d9bb3c05a912515364f3f93497c65 (diff)
downloadbcm5719-llvm-2d7d6052c6ad166c3b87bb94972d814c06169312.tar.gz
bcm5719-llvm-2d7d6052c6ad166c3b87bb94972d814c06169312.zip
Const-correct SelectionDAG::getAtomic.
llvm-svn: 207373
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 46d0fcac410..b58975e1fb3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -4238,7 +4238,7 @@ SDValue SelectionDAG::getMemset(SDValue Chain, SDLoc dl, SDValue Dst,
}
SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
- SDVTList VTList, SDValue *Ops, unsigned NumOps,
+ SDVTList VTList, const SDValue *Ops, unsigned NumOps,
MachineMemOperand *MMO,
AtomicOrdering SuccessOrdering,
AtomicOrdering FailureOrdering,
@@ -4271,7 +4271,7 @@ SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
}
SDValue SelectionDAG::getAtomic(unsigned Opcode, SDLoc dl, EVT MemVT,
- SDVTList VTList, SDValue *Ops, unsigned NumOps,
+ SDVTList VTList, const SDValue *Ops, unsigned NumOps,
MachineMemOperand *MMO,
AtomicOrdering Ordering,
SynchronizationScope SynchScope) {
OpenPOWER on IntegriCloud