[all-commits] [llvm/llvm-project] bb8e7e: [BOLT] Remove unreachable uncond branch after return

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Wed Jan 19 11:06:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb8e7ebaad0d05b3458631dcf60dc3b9eb77f06a
      https://github.com/llvm/llvm-project/commit/bb8e7ebaad0d05b3458631dcf60dc3b9eb77f06a
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    A bolt/test/AArch64/jmp-after-ret.s
    A bolt/test/X86/jmp-after-ret.s

  Log Message:
  -----------
  [BOLT] Remove unreachable uncond branch after return

This patch fixes the removal of unreachable uncondtional branch located
after return instruction.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D117677




More information about the All-commits mailing list