[all-commits] [llvm/llvm-project] 54ec9b: [Attributor] Unify handling of must-tail calls

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Mar 23 08:46:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 54ec9b54f6bb7d580447570fb91451f663113d35
      https://github.com/llvm/llvm-project/commit/54ec9b54f6bb7d580447570fb91451f663113d35
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/IPConstantProp/musttail-call.ll

  Log Message:
  -----------
  [Attributor] Unify handling of must-tail calls

We special cased must-tail calls all over the place because they cannot
be modified as other calls can be. However, we already centralized the
modification API so we can centralize the handling as well. This
simplifies the code and allows to remove must-tail calls completely.




More information about the All-commits mailing list