[all-commits] [llvm/llvm-project] 831e99: [GVNHoist] don't hoist callbr users into the callb...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Mar 13 10:21:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 831e99fee90e9406c7260ca66d688ec353110183
      https://github.com/llvm/llvm-project/commit/831e99fee90e9406c7260ca66d688ec353110183
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVNHoist.cpp
    M llvm/test/Transforms/GVNHoist/hoist-call.ll

  Log Message:
  -----------
  [GVNHoist] don't hoist callbr users into the callbr's block

This isn't safe to do.

Link: https://github.com/llvm/llvm-project/issues/53562
Fixes: https://github.com/llvm/llvm-project/issues/61023

Reviewed By: efriedma, nikic

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




More information about the All-commits mailing list