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 /include/llvm/CodeGen | |
| parent | ea069065592a43cabe4548299828eb9b26785da7 (diff) | |
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 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 560e0fca13..22487dd5c3 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -556,7 +556,7 @@ public: /// bitsets. This code only analyzes bits in Mask, in order to short-circuit /// processing. Targets can implement the computeMaskedBitsForTargetNode /// method in the TargetLowering class to allow target nodes to be understood. - void ComputeMaskedBits(SDOperand Op, APInt Mask, APInt &KnownZero, + void ComputeMaskedBits(SDOperand Op, const APInt &Mask, APInt &KnownZero, APInt &KnownOne, unsigned Depth = 0) const; /// ComputeMaskedBits - This is a wrapper around the APInt-using |
