[PATCH] D130754: [X86] Support ``-mindirect-branch-cs-prefix`` for call and jmp to indirect thunk

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 00:52:40 PDT 2022


pengfei added a comment.

In D130754#3701858 <https://reviews.llvm.org/D130754#3701858>, @pengfei wrote:

> In D130754#3701837 <https://reviews.llvm.org/D130754#3701837>, @nikic wrote:
>
>> This change caused a significant compile-time regression for `O0` builds (about 1%): http://llvm-compile-time-tracker.com/compare.php?from=45bae1be90472c696f6ba3bb4f8fabee76040fa9&to=6f867f9102838ebe314c1f3661fdf95700386e5a&stat=instructions
>>
>> At a guess, fetching a module flag for every single instruction is slow?
>
> Thanks for reporting it. I guess so. I'll try to move it outside :)

D131245 <https://reviews.llvm.org/D131245> should help with it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130754



More information about the llvm-commits mailing list