[all-commits] [llvm/llvm-project] 42389f: [VE] Change threshold for jump table generation
Kazushi Marukawa via All-commits
all-commits at lists.llvm.org
Fri Nov 20 04:27:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 42389f1e96af9bbca5dbbbb552cc834b21d7d173
https://github.com/llvm/llvm-project/commit/42389f1e96af9bbca5dbbbb552cc834b21d7d173
Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M llvm/lib/Target/VE/VEISelLowering.cpp
M llvm/lib/Target/VE/VEISelLowering.h
M llvm/test/CodeGen/VE/Scalar/br_jt.ll
Log Message:
-----------
[VE] Change threshold for jump table generation
Implement getMinimumJumpTableEntries() to specify threshold for jump
table genaration. We use 8 for the case of PIC mode to relieve the
impact of PIC calculation required to implement PIC mode jump table.
Update jump table regression test also.
Reviewed By: simoll
Differential Revision: https://reviews.llvm.org/D91785
More information about the All-commits
mailing list