mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix PR11819 introduced by r148537. I'd commit the test case, but the generated code is terrible as it gets fully scalarized. Expect a future commit to fix that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7423db2dcf
commit
d9ec725db4
@ -5973,10 +5973,10 @@ LowerVECTOR_SHUFFLE_256(ShuffleVectorSDNode *SVOp, SelectionDAG &DAG) {
|
||||
if (MinRange[l][Input] == (int)NumElems && MaxRange[l][Input] < 0)
|
||||
continue;
|
||||
|
||||
if (MinRange[l][Input] >= 0 && MinRange[l][Input] < (int)NumLaneElems)
|
||||
if (MinRange[l][Input] >= 0 && MaxRange[l][Input] < (int)NumLaneElems)
|
||||
ExtractIdx[l][Input] = 0;
|
||||
else if (MinRange[l][Input] >= (int)NumLaneElems &&
|
||||
MinRange[l][Input] < (int)NumElems)
|
||||
MaxRange[l][Input] < (int)NumElems)
|
||||
ExtractIdx[l][Input] = NumLaneElems;
|
||||
else
|
||||
return SDValue();
|
||||
|
Loading…
Reference in New Issue
Block a user