[PATCH] D48430: [RISCV] Add support for lowering jumptables

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 18:01:08 PDT 2018


apazos added inline comments.


================
Comment at: lib/Target/RISCV/RISCVISelLowering.cpp:153
-  // Effectively disable jump table generation.
-  setMinimumJumpTableEntries(INT_MAX);
 }
----------------
Alex, I see lower performance when creating jump tables. We might need to set a minimum JT entries value to avoid the degradation.  


https://reviews.llvm.org/D48430





More information about the llvm-commits mailing list