[all-commits] [llvm/llvm-project] 2e101c: [Local] Don't remove invoke of non-willreturn func...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon May 30 06:39:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e101cca690645d63ae4de1eb7b0e11d322448fd
      https://github.com/llvm/llvm-project/commit/2e101cca690645d63ae4de1eb7b0e11d322448fd
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-30 (Mon, 30 May 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/SimplifyCFG/invoke.ll

  Log Message:
  -----------
  [Local] Don't remove invoke of non-willreturn function

The code was only checking for memory side-effects, but not for
divergence side-effects. Replace this with a generic check.




More information about the All-commits mailing list