[all-commits] [llvm/llvm-project] 3ae007: [InstCombine] `sinkNotIntoOtherHandOfLogicalOp()`:...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sun Dec 18 18:17:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ae00753c156d70b3e7000451ac71391241ac5dd
      https://github.com/llvm/llvm-project/commit/3ae00753c156d70b3e7000451ac71391241ac5dd
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-and.ll
    M llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-logical-and.ll
    M llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-logical-or.ll
    M llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-or.ll

  Log Message:
  -----------
  [InstCombine] `sinkNotIntoOtherHandOfLogicalOp()`: don't forget to re-set insert position

Several bots are unhappy, and this appears to be the reason:
we might be inserting into wrong basic block,
one that does not dominate the I.




More information about the All-commits mailing list