diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-04 12:51:34 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-04 12:51:34 +0000 |
| commit | ba0a6cabb80827f5f3a6e4749414f31e2c3e9754 (patch) | |
| tree | c2e0e8e93cfaf9f3eb4da5016d338867a53211ae /llvm/lib/Target/ARM/ARMISelLowering.h | |
| parent | 74875e6719f86d7454c6dded3287e937eeb4a1ee (diff) | |
| download | bcm5719-llvm-ba0a6cabb80827f5f3a6e4749414f31e2c3e9754.tar.gz bcm5719-llvm-ba0a6cabb80827f5f3a6e4749414f31e2c3e9754.zip | |
Always compute all the bits in ComputeMaskedBits.
This allows us to keep passing reduced masks to SimplifyDemandedBits, but
know about all the bits if SimplifyDemandedBits fails. This allows instcombine
to simplify cases like the one in the included testcase.
llvm-svn: 154011
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index a71b74e7af9..80c5716bb00 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -315,7 +315,6 @@ namespace llvm { SelectionDAG &DAG) const; virtual void computeMaskedBitsForTargetNode(const SDValue Op, - const APInt &Mask, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, |

