[PATCH] Skip promotable allocas to improve performance at -O0

Kostya Serebryany kcc at google.com
Thu Feb 19 19:08:04 PST 2015


> > With this patch, ASan instrumentation pass will only instrument non promotable allocas, giving us a speedup of 39% on a collection of benchmarks with -O0

> 


I wonder, what if we apply this only to those allocas that are indexed with constants?
I.e. only if we can statically prove the correctness of access.
See also Dmitry's http://reviews.llvm.org/D7583


http://reviews.llvm.org/D7741

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list