diff options
author | Dan Gohman <gohman@apple.com> | 2010-03-10 21:04:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-03-10 21:04:53 +0000 |
commit | 703b12d62fe62da6d40200932e79ae7eb7d40766 (patch) | |
tree | f738be3180c145ccb9fd80fe11faa2bbcfb50094 /llvm/lib | |
parent | dc765e9f03a62d5303749160da655c09b9949ee9 (diff) | |
download | bcm5719-llvm-703b12d62fe62da6d40200932e79ae7eb7d40766.tar.gz bcm5719-llvm-703b12d62fe62da6d40200932e79ae7eb7d40766.zip |
Fix another bitwidth calculation to handle vector types; based on a
patch by Micah Villmow for PR6572.
llvm-svn: 98188
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 3be6b431167..82bf4784943 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -5409,7 +5409,7 @@ SDValue DAGCombiner::visitSTORE(SDNode *N) { if (SimplifyDemandedBits(Value, APInt::getLowBitsSet( Value.getValueType().getScalarType().getSizeInBits(), - ST->getMemoryVT().getSizeInBits()))) + ST->getMemoryVT().getScalarType().getSizeInBits()))) return SDValue(N, 0); } |