[PATCH] Don't build switch lookup tables for dllimport or TLS variables

David Majnemer david.majnemer at gmail.com
Thu Jun 19 15:06:49 PDT 2014


We can just make the predicate be a normal function pointer instead of taking a template argument.  This may reduce the amount of code generated without inhibiting the compiler from inlining the lambdas if it thought it were profitable.

http://reviews.llvm.org/D4220






More information about the llvm-commits mailing list