projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2101d9c
)
Fix another bitwidth calculation to handle vector types; based on a
author
Dan Gohman
<gohman@apple.com>
Wed, 10 Mar 2010 21:04:53 +0000
(21:04 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 10 Mar 2010 21:04:53 +0000
(21:04 +0000)
patch by Micah Villmow for PR6572.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98188
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 3be6b431167a759418f29b8cd3c9639a99800989..82bf47849438d5d8b500468bbcea34b8afe741a2 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
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().getS
calarType().getS
izeInBits())))
return SDValue(N, 0);
}