[all-commits] [llvm/llvm-project] 912404: [ControlHeightReduction] Freeze potentially poison...

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Mar 7 13:20:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 912404db7882084bc2a5fa417746952bee04e26a
      https://github.com/llvm/llvm-project/commit/912404db7882084bc2a5fa417746952bee04e26a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    A llvm/test/Transforms/PGOProfile/chr-poison.ll
    M llvm/test/Transforms/PGOProfile/chr.ll
    M llvm/test/Transforms/PGOProfile/chr_coro.ll

  Log Message:
  -----------
  [ControlHeightReduction] Freeze potentially poisonous conditions

This patch freezes potentially poisonous conditions in conditional
branches so that we do not "move up" conditional branches
"br i1 poison".

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




More information about the All-commits mailing list