diff options
author | Dan Gohman <gohman@apple.com> | 2008-02-13 22:28:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-02-13 22:28:48 +0000 |
commit | 977a76fbb6ea1b87dfd7fbbe2ae2afb63e982ff3 (patch) | |
tree | 8eac120ccc5b79607fa5fffa9a0a4ef365ac149d /lib/Target/CellSPU/SPUISelLowering.cpp | |
parent | ea069065592a43cabe4548299828eb9b26785da7 (diff) | |
download | external_llvm-977a76fbb6ea1b87dfd7fbbe2ae2afb63e982ff3.zip external_llvm-977a76fbb6ea1b87dfd7fbbe2ae2afb63e982ff3.tar.gz external_llvm-977a76fbb6ea1b87dfd7fbbe2ae2afb63e982ff3.tar.bz2 |
Simplify some logic in ComputeMaskedBits. And change ComputeMaskedBits
to pass the mask APInt by value, not by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUISelLowering.cpp')
-rw-r--r-- | lib/Target/CellSPU/SPUISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.cpp b/lib/Target/CellSPU/SPUISelLowering.cpp index 6fe6e48..f6e3359 100644 --- a/lib/Target/CellSPU/SPUISelLowering.cpp +++ b/lib/Target/CellSPU/SPUISelLowering.cpp @@ -2668,7 +2668,7 @@ SPUTargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint, void SPUTargetLowering::computeMaskedBitsForTargetNode(const SDOperand Op, - APInt Mask, + const APInt &Mask, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, |