summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2019-06-19 16:12:01 +0000
committerEvandro Menezes <e.menezes@samsung.com>2019-06-19 16:12:01 +0000
commit56c45e93ab1b5ec4017e9dac1eed80fe828c5a0b (patch)
treec5aac7112b6509373a28ba7b810f3d74e19476fd
parent792510f86949b9c14c2f26843f612e96ffbf82ec (diff)
downloadbcm5719-llvm-56c45e93ab1b5ec4017e9dac1eed80fe828c5a0b.tar.gz
bcm5719-llvm-56c45e93ab1b5ec4017e9dac1eed80fe828c5a0b.zip
[Hexagon] Change limit type to match the argument type (NFC)
llvm-svn: 363831
-rw-r--r--llvm/lib/Target/Hexagon/HexagonISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
index f1daa33bb6d..b72498777ed 100644
--- a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
@@ -1325,7 +1325,7 @@ HexagonTargetLowering::HexagonTargetLowering(const TargetMachine &TM,
if (EmitJumpTables)
setMinimumJumpTableEntries(MinimumJumpTables);
else
- setMinimumJumpTableEntries(std::numeric_limits<int>::max());
+ setMinimumJumpTableEntries(std::numeric_limits<unsigned>::max());
setOperationAction(ISD::BR_JT, MVT::Other, Expand);
setOperationAction(ISD::ABS, MVT::i32, Legal);
OpenPOWER on IntegriCloud