aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <ashaposhnikov@google.com>2022-07-13 23:21:45 +0000
committerAlexander Shaposhnikov <ashaposhnikov@google.com>2022-07-13 23:21:45 +0000
commitc9168405396d9a536743d2bbc1fb9892954b4c03 (patch)
treeaca59904234ccba7e5001c9b96046c70fbab20ac /clang/lib/ExtractAPI/Serialization
parent1a65d09dcf9b9bed89f8c4fd848a056ebb507597 (diff)
downloadllvm-c9168405396d9a536743d2bbc1fb9892954b4c03.zip
llvm-c9168405396d9a536743d2bbc1fb9892954b4c03.tar.gz
llvm-c9168405396d9a536743d2bbc1fb9892954b4c03.tar.bz2
[SimplifyCFG] Improve SwitchToLookupTable optimization
Try to use the original value as an index (in the lookup table) in more cases (to avoid one subtraction and shorten the dependency chain) (https://github.com/llvm/llvm-project/issues/56189). Test plan: 1/ ninja check-all 2/ bootstrapped LLVM + Clang pass tests Differential revision: https://reviews.llvm.org/D128897
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization')
0 files changed, 0 insertions, 0 deletions