[llvm-commits] [llvm] r146420 - /llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp
Tony Linthicum
tlinth at codeaurora.org
Mon Dec 12 13:53:00 PST 2011
Author: tlinth
Date: Mon Dec 12 15:52:59 2011
New Revision: 146420
URL: http://llvm.org/viewvc/llvm-project?rev=146420&view=rev
Log:
fix warning
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp?rev=146420&r1=146419&r2=146420&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonFrameLowering.cpp Mon Dec 12 15:52:59 2011
@@ -142,7 +142,7 @@
if (hasFP(MF)) {
// Check for overflow.
// 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();
if (NumBytes >= ALLOCFRAME_MAX) {
More information about the llvm-commits
mailing list