mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Add a comment, per Bruno's CR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f80a894bf0
commit
6236f7f2b6
@ -12593,6 +12593,9 @@ static SDValue PerformSTORECombine(SDNode *N, SelectionDAG &DAG,
|
||||
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
|
||||
|
||||
// If we are saving a concatination of two XMM registers, perform two stores.
|
||||
// This is better in Sandy Bridge cause one 256-bit mem op is done via two
|
||||
// 128-bit ones. If in the future the cost becomes only one memory access the
|
||||
// first version would be better.
|
||||
if (VT.getSizeInBits() == 256 &&
|
||||
StoredVal.getNode()->getOpcode() == ISD::CONCAT_VECTORS &&
|
||||
StoredVal.getNumOperands() == 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user