diff options
author | Craig Topper <craig.topper@intel.com> | 2017-10-12 23:46:05 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-10-12 23:46:05 +0000 |
commit | 0e8211ea57fb40fad12c583c05fd95734df906aa (patch) | |
tree | 5a5bc0ad05d322a36919656097bd97a0da6af5c8 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 5323550e9a01dd85f32bfbfb1598e7ce8f399f56 (diff) | |
download | bcm5719-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.cpp | 2 |
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; |