forked from OSchip/llvm-project
parent
42ce2f35fd
commit
36e0519ca2
|
@ -142,7 +142,7 @@ void HexagonFrameLowering::emitPrologue(MachineFunction &MF) const {
|
||||||
if (hasFP(MF)) {
|
if (hasFP(MF)) {
|
||||||
// Check for overflow.
|
// Check for overflow.
|
||||||
// Hexagon_TODO: Ugh! hardcoding. Is there an API that can be used?
|
// Hexagon_TODO: Ugh! hardcoding. Is there an API that can be used?
|
||||||
const unsigned int ALLOCFRAME_MAX = 16384;
|
const int ALLOCFRAME_MAX = 16384;
|
||||||
const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
|
const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
|
||||||
|
|
||||||
if (NumBytes >= ALLOCFRAME_MAX) {
|
if (NumBytes >= ALLOCFRAME_MAX) {
|
||||||
|
|
Loading…
Reference in New Issue