summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-10-12 23:46:05 +0000
committerCraig Topper <craig.topper@intel.com>2017-10-12 23:46:05 +0000
commit0e8211ea57fb40fad12c583c05fd95734df906aa (patch)
tree5a5bc0ad05d322a36919656097bd97a0da6af5c8 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent5323550e9a01dd85f32bfbfb1598e7ce8f399f56 (diff)
downloadbcm5719-llvm-0e8211ea57fb40fad12c583c05fd95734df906aa.tar.gz
bcm5719-llvm-0e8211ea57fb40fad12c583c05fd95734df906aa.zip
[SelectionDAG] Const-correct the DemandedMask argument to one of the overloads of SimplifyDemandedBits. NFC
llvm-svn: 315641
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 31f8f3b49dc..7570b06a5de 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -479,7 +479,7 @@ TargetLowering::SimplifyDemandedBits(SDNode *User, unsigned OpIdx,
return true;
}
-bool TargetLowering::SimplifyDemandedBits(SDValue Op, APInt &DemandedMask,
+bool TargetLowering::SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask,
DAGCombinerInfo &DCI) const {
SelectionDAG &DAG = DCI.DAG;
OpenPOWER on IntegriCloud