llvm.org GIT mirror llvm / fa840e7
Correct faulty merge of r214923 due to echristo's subversion changes in trunk git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@214927 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Schmidt 6 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
10101010 if (ShiftAmt < i) return -1;
10111011
10121012 ShiftAmt -= i;
1013 bool isLE = DAG.getTarget().getSubtargetImpl()->getDataLayout()->
1014 isLittleEndian();
1013 bool isLE = DAG.getTarget().getDataLayout()->isLittleEndian();
10151014
10161015 if ((ShuffleKind == 0 && !isLE) || (ShuffleKind == 2 && isLE)) {
10171016 // Check the rest of the elements to see if they are consecutive.