mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 04:24:22 +00:00
Fix typos in my prev commit, found by Tobi.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -13445,7 +13445,7 @@ static SDValue PerformLOADCombine(SDNode *N, SelectionDAG &DAG,
|
|||||||
|
|
||||||
ISD::LoadExtType Ext = Ld->getExtensionType();
|
ISD::LoadExtType Ext = Ld->getExtensionType();
|
||||||
|
|
||||||
// If yhis is a vector EXT Load then attempt to optimize it using a
|
// If this is a vector EXT Load then attempt to optimize it using a
|
||||||
// shuffle. We need SSE4 for the shuffles.
|
// shuffle. We need SSE4 for the shuffles.
|
||||||
// TODO: It is possible to support ZExt by zeroing the undef values
|
// TODO: It is possible to support ZExt by zeroing the undef values
|
||||||
// during the shuffle phase or after the shuffle.
|
// during the shuffle phase or after the shuffle.
|
||||||
@ -13457,7 +13457,7 @@ static SDValue PerformLOADCombine(SDNode *N, SelectionDAG &DAG,
|
|||||||
unsigned RegSz = RegVT.getSizeInBits();
|
unsigned RegSz = RegVT.getSizeInBits();
|
||||||
unsigned MemSz = MemVT.getSizeInBits();
|
unsigned MemSz = MemVT.getSizeInBits();
|
||||||
assert(RegSz > MemSz && "Register size must be greater than the mem size");
|
assert(RegSz > MemSz && "Register size must be greater than the mem size");
|
||||||
// All sized must be a power of two
|
// All sizes must be a power of two
|
||||||
if (!isPowerOf2_32(RegSz * MemSz * NumElems)) return SDValue();
|
if (!isPowerOf2_32(RegSz * MemSz * NumElems)) return SDValue();
|
||||||
|
|
||||||
// Attempt to load the original value using a single load op.
|
// Attempt to load the original value using a single load op.
|
||||||
|
Reference in New Issue
Block a user