diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-01-13 21:43:13 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-01-13 21:43:13 +0000 |
commit | a61f7da6ba91dd9f0ca54919e29b931a406260e0 (patch) | |
tree | e2597312cadd256ed54d10c40b719f059838afbc | |
parent | e16d1b0a9ca0b17ca3b7fadcf0815272ace40d48 (diff) | |
download | bcm5719-llvm-a61f7da6ba91dd9f0ca54919e29b931a406260e0.tar.gz bcm5719-llvm-a61f7da6ba91dd9f0ca54919e29b931a406260e0.zip |
[Hexagon] Fix the options controlling jump table generation
llvm-svn: 257679
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp index 01670902e2b..53492cb6b43 100644 --- a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp +++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp @@ -1629,9 +1629,9 @@ HexagonTargetLowering::HexagonTargetLowering(const TargetMachine &TM, setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Custom); if (EmitJumpTables) - setMinimumJumpTableEntries(2); - else setMinimumJumpTableEntries(MinimumJumpTables); + else + setMinimumJumpTableEntries(INT_MAX); setOperationAction(ISD::BR_JT, MVT::Other, Expand); // Hexagon has instructions for add/sub with carry. The problem with |