[all-commits] [llvm/llvm-project] a4e6c2: [NFC][SimplifyCFG] Extract PerformValueComparisonI...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sat Jan 23 13:59:47 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a4e6c2e647b09dd8c2c5cf55bb05e3c7fd89646c
      https://github.com/llvm/llvm-project/commit/a4e6c2e647b09dd8c2c5cf55bb05e3c7fd89646c
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-24 (Sun, 24 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] Extract PerformValueComparisonIntoPredecessorFolding() out of FoldValueComparisonIntoPredecessors()

Less nested code is much easier to follow and modify.


  Commit: 67f9c87a651a9c3a57a2b1bf32e6e0be2479ebc7
      https://github.com/llvm/llvm-project/commit/67f9c87a651a9c3a57a2b1bf32e6e0be2479ebc7
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-24 (Sun, 24 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] Perform early-continue in FoldValueComparisonIntoPredecessors() per-pred loop


  Commit: 6f2753273ee6d891cabd11626e4efbce0d901661
      https://github.com/llvm/llvm-project/commit/6f2753273ee6d891cabd11626e4efbce0d901661
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-24 (Sun, 24 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFC][SimplifyCFG] Extract CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses() out of PerformBranchToCommonDestFolding()

To be used in PerformValueComparisonIntoPredecessorFolding()


Compare: https://github.com/llvm/llvm-project/compare/c83cff45c7a5...6f2753273ee6


More information about the All-commits mailing list