[all-commits] [llvm/llvm-project] 7f34ac: [musttail] Unify musttail call preceding return ch...

Xun Li via All-commits all-commits at lists.llvm.org
Tue Nov 3 11:40:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f34aca083b528db1d880b406f1a1953eeb6aa95
      https://github.com/llvm/llvm-project/commit/7f34aca083b528db1d880b406f1a1953eeb6aa95
  Author: Xun Li <xun at fb.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
    M llvm/lib/Transforms/Utils/EscapeEnumerator.cpp

  Log Message:
  -----------
  [musttail] Unify musttail call preceding return checking

There is already an API in BasicBlock that checks and returns the musttail call if it precedes the return instruction.
Use it instead of manually checking in each place.

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




More information about the All-commits mailing list