[all-commits] [llvm/llvm-project] e47c10: [InstCombine][NFC] Simplify check in sinking

max-azul via All-commits all-commits at lists.llvm.org
Mon May 18 04:18:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e47c101e35fd8d046f7d4fa296c17db508e8cdc2
      https://github.com/llvm/llvm-project/commit/e47c101e35fd8d046f7d4fa296c17db508e8cdc2
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-05-18 (Mon, 18 May 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine][NFC] Simplify check in sinking

We just need to check that the only predecessor of user parent is
BB, we don't need to iterate through BB's successors for it.




More information about the All-commits mailing list