[PATCH] D99417: [AArch64][v8.5A] Add BTI to all function starts

Pablo Barrio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 04:00:44 PDT 2021


pbarrio added a comment.

In D99417#2653048 <https://reviews.llvm.org/D99417#2653048>, @peter.smith wrote:

> My guess is that this would only affect a small number of functions?

I got some numbers on the NDK samples (https://github.com/android/ndk-samples). Of a total of 6746 functions, this patch inserts a landing pad for 22 additional functions, which is ~0.3% of them. I haven't done proper benchmarking since this is a bugfix rather than an optimization, but I agree that this patch should affect a small number of functions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99417/new/

https://reviews.llvm.org/D99417



More information about the llvm-commits mailing list