[all-commits] [llvm/llvm-project] 5b5954: [BOLT] Enhance fixed indirect branch handling (#71...

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Wed Nov 15 21:31:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b59540661e995839ad970c782c68c2c0c74cbac
      https://github.com/llvm/llvm-project/commit/5b59540661e995839ad970c782c68c2c0c74cbac
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryFunction.cpp

  Log Message:
  -----------
  [BOLT] Enhance fixed indirect branch handling (#71324)

Previously HasFixedIndirectBranch was set in BF to set isSimple to false
later because of unreachable bb ellimination pass which might remove the
BB with it's symbols accessed by other instructions than calls. It seems
to be that better solution would be to add extra entry point on target
offset instead of marking BF as non-simple.




More information about the All-commits mailing list