Commit ca6c6b95 authored by Bill Schmidt's avatar Bill Schmidt
Browse files

Correct faulty merge of r214923 due to echristo's subversion changes in trunk

llvm-svn: 214927
parent b2459060
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1011,8 +1011,7 @@ int PPC::isVSLDOIShuffleMask(SDNode *N, unsigned ShuffleKind,
  if (ShiftAmt < i) return -1;

  ShiftAmt -= i;
  bool isLE = DAG.getTarget().getSubtargetImpl()->getDataLayout()->
    isLittleEndian();
  bool isLE = DAG.getTarget().getDataLayout()->isLittleEndian();

  if ((ShuffleKind == 0 && !isLE) || (ShuffleKind == 2 && isLE)) {
    // Check the rest of the elements to see if they are consecutive.