mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[PowerPC] Fix VSX permutation isel
Not only did I invert the indices when I wrote the code, but I also did the same thing when I wrote the regression test. Oops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1351,7 +1351,7 @@ SDNode *PPCDAGToDAGISel::Select(SDNode *N) {
|
||||
else
|
||||
DM[i] = 1;
|
||||
|
||||
SDValue DMV = CurDAG->getTargetConstant(DM[0] | (DM[1] << 1), MVT::i32);
|
||||
SDValue DMV = CurDAG->getTargetConstant(DM[1] | (DM[0] << 1), MVT::i32);
|
||||
|
||||
if (Op1 == Op2 && DM[0] == 0 && DM[1] == 0 &&
|
||||
Op1.getOpcode() == ISD::SCALAR_TO_VECTOR &&
|
||||
|
Reference in New Issue
Block a user