mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
Fix another bitwidth calculation to handle vector types; based on a
patch by Micah Villmow for PR6572. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2101d9c4af
commit
8f78e3c87d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user