[all-commits] [llvm/llvm-project] a5b2e4: [FlattenCFG] Fix the miscompilation where phi node...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Feb 26 13:51:08 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b2e43ff0181f09eb52f4a2b6b6796a9517b645
      https://github.com/llvm/llvm-project/commit/a5b2e43ff0181f09eb52f4a2b6b6796a9517b645
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/FlattenCFG.cpp
    M llvm/test/Transforms/Util/flattencfg.ll

  Log Message:
  -----------
  [FlattenCFG] Fix the miscompilation where phi nodes exist in the merge point (#81987)

When there are phi nodes in the merge point of the if-region, we cannot
do the merge.
Alive2: https://alive2.llvm.org/ce/z/DbgEan
Fixes #70900.

(cherry picked from commit f920b746ea818f1d21f317116cbb105e3e85979a)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list