[PATCH] D18321: Add support for no-jump-tables

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 10:52:58 PDT 2016

joker.eph added a comment.

Code look straightforward. Using a function attribute looks good to me. See a nit below.

Comment at: test/CodeGen/X86/switch.ll:46
@@ +45,3 @@
+; Lowered as a jump table, both with and without optimization.
+; CHECK-LABEL: basic_nojumptable
Update comment: `Should never be lowered as a jump table because of the attribute.`


More information about the llvm-commits mailing list