aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86FloatingPoint.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-09 07:45:21 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-09 07:45:21 +0000
commit72051bf629087bb7d7e68aa4d553be8137098056 (patch)
tree8b168f40515f5687917d82d6634b095113f6b463 /lib/Target/X86/X86FloatingPoint.cpp
parente38ec24758bf88f68159ced232c371ffe031de00 (diff)
downloadexternal_llvm-72051bf629087bb7d7e68aa4d553be8137098056.zip
external_llvm-72051bf629087bb7d7e68aa4d553be8137098056.tar.gz
external_llvm-72051bf629087bb7d7e68aa4d553be8137098056.tar.bz2
Use uint16_t to store opcodes in static tables in X86 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FloatingPoint.cpp')
-rw-r--r--lib/Target/X86/X86FloatingPoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp
index 32de194..7153f01 100644
--- a/lib/Target/X86/X86FloatingPoint.cpp
+++ b/lib/Target/X86/X86FloatingPoint.cpp
@@ -570,8 +570,8 @@ void FPS::finishBlockStack() {
namespace {
struct TableEntry {
- unsigned from;
- unsigned to;
+ uint16_t from;
+ uint16_t to;
bool operator<(const TableEntry &TE) const { return from < TE.from; }
friend bool operator<(const TableEntry &TE, unsigned V) {
return TE.from < V;