diff options
author | Tony Linthicum <tlinth@codeaurora.org> | 2011-12-12 21:52:59 +0000 |
---|---|---|
committer | Tony Linthicum <tlinth@codeaurora.org> | 2011-12-12 21:52:59 +0000 |
commit | 22614a02eb8855548a892139e54e478c70050f9f (patch) | |
tree | f9f31e6387dc35c13b1fbbe426765d3395e5f7e5 /lib | |
parent | 9cd2b9562d23909937ab2e4bb45c2a1ed4c86816 (diff) | |
download | llvm-22614a02eb8855548a892139e54e478c70050f9f.tar.gz llvm-22614a02eb8855548a892139e54e478c70050f9f.tar.bz2 llvm-22614a02eb8855548a892139e54e478c70050f9f.tar.xz |
fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Hexagon/HexagonFrameLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Hexagon/HexagonFrameLowering.cpp b/lib/Target/Hexagon/HexagonFrameLowering.cpp index 5a4e1d2d41..78e0b1ced3 100644 --- a/lib/Target/Hexagon/HexagonFrameLowering.cpp +++ b/lib/Target/Hexagon/HexagonFrameLowering.cpp @@ -142,7 +142,7 @@ void HexagonFrameLowering::emitPrologue(MachineFunction &MF) const { 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) { |