[all-commits] [llvm/llvm-project] 598655: [SimplifyCFG] Guard branch folding by speculate bl...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue Jul 25 06:46:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5986559caa400ba6d977fb9d2224b79b52968b8e
      https://github.com/llvm/llvm-project/commit/5986559caa400ba6d977fb9d2224b79b52968b8e
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/speculate-blocks.ll

  Log Message:
  -----------
  [SimplifyCFG] Guard branch folding by speculate blocks flag

Guard FoldBranchToCommonDest in SimplifyCFG with the SpeculateBlocks
flag as it can also speculate instructions.

This was split out of D155997.

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




More information about the All-commits mailing list