summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-08-15 02:44:19 +0000
committerCraig Topper <craig.topper@gmail.com>2013-08-15 02:44:19 +0000
commitd9c2783d8f7b7a27514d2d31083420422361df5b (patch)
tree69019fd0fe2e4fd919f793df8b9d1a812cadf396 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent5671010cbb72ebd5127150e77d5a7fc78f1293cc (diff)
downloadbcm5719-llvm-d9c2783d8f7b7a27514d2d31083420422361df5b.tar.gz
bcm5719-llvm-d9c2783d8f7b7a27514d2d31083420422361df5b.zip
Replace getValueType().getSimpleVT() with getSimpleValueType().
llvm-svn: 188442
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 1101ee1c50b..e97d09aeb2a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -3452,7 +3452,7 @@ void SelectionDAGBuilder::visitAtomicCmpXchg(const AtomicCmpXchgInst &I) {
SDValue L =
DAG.getAtomic(ISD::ATOMIC_CMP_SWAP, dl,
- getValue(I.getCompareOperand()).getValueType().getSimpleVT(),
+ getValue(I.getCompareOperand()).getSimpleValueType(),
InChain,
getValue(I.getPointerOperand()),
getValue(I.getCompareOperand()),
@@ -3500,7 +3500,7 @@ void SelectionDAGBuilder::visitAtomicRMW(const AtomicRMWInst &I) {
SDValue L =
DAG.getAtomic(NT, dl,
- getValue(I.getValOperand()).getValueType().getSimpleVT(),
+ getValue(I.getValOperand()).getSimpleValueType(),
InChain,
getValue(I.getPointerOperand()),
getValue(I.getValOperand()),
OpenPOWER on IntegriCloud