summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-13 22:28:48 +0000
committerDan Gohman <gohman@apple.com>2008-02-13 22:28:48 +0000
commite1d9ee66ed8f4e426442fe18bd8c0bdbef85f331 (patch)
tree74f8afcbd6f0a96b34d570d762775d8c0e4462e6 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent0ecb76d8204702c85c0471520696bf72b5ae757f (diff)
downloadbcm5719-llvm-e1d9ee66ed8f4e426442fe18bd8c0bdbef85f331.tar.gz
bcm5719-llvm-e1d9ee66ed8f4e426442fe18bd8c0bdbef85f331.zip
Simplify some logic in ComputeMaskedBits. And change ComputeMaskedBits
to pass the mask APInt by value, not by reference. llvm-svn: 47096
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index a6c669dc88a..a4ab3938121 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -1762,7 +1762,7 @@ bool ARMTargetLowering::getPostIndexedAddressParts(SDNode *N, SDNode *Op,
}
void ARMTargetLowering::computeMaskedBitsForTargetNode(const SDOperand Op,
- APInt Mask,
+ const APInt &Mask,
APInt &KnownZero,
APInt &KnownOne,
const SelectionDAG &DAG,
OpenPOWER on IntegriCloud