Deleted Added
sdiff udiff text old ( 193323 ) new ( 193724 )
full compact
1//===-------- LegalizeTypesGeneric.cpp - Generic type legalization --------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 78 unchanged lines hidden (view full) ---

87 if (TLI.isBigEndian())
88 std::swap(Lo, Hi);
89 Lo = DAG.getNode(ISD::BIT_CONVERT, dl, NOutVT, Lo);
90 Hi = DAG.getNode(ISD::BIT_CONVERT, dl, NOutVT, Hi);
91 return;
92 }
93 }
94
95 // Lower the bit-convert to a store/load from the stack.
96 assert(NOutVT.isByteSized() && "Expanded type not byte sized!");
97
98 // Create the stack frame object. Make sure it is aligned for both
99 // the source and expanded destination types.
100 unsigned Alignment =
101 TLI.getTargetData()->getPrefTypeAlignment(NOutVT.getTypeForMVT());
102 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment);

--- 351 unchanged lines hidden ---