[llvm] r363831 - [Hexagon] Change limit type to match the argument type (NFC)

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 09:12:01 PDT 2019


Author: evandro
Date: Wed Jun 19 09:12:01 2019
New Revision: 363831

URL: http://llvm.org/viewvc/llvm-project?rev=363831&view=rev
Log:
[Hexagon] Change limit type to match the argument type (NFC)

Modified:
    llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp

Modified: llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp?rev=363831&r1=363830&r2=363831&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp Wed Jun 19 09:12:01 2019
@@ -1325,7 +1325,7 @@ HexagonTargetLowering::HexagonTargetLowe
   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);




More information about the llvm-commits mailing list