[all-commits] [llvm/llvm-project] 53abe3: [MergeICmp] Make instruction move robust against e...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 4 02:15:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53abe3ff66a54117308352d379837c7d3229f8d6
      https://github.com/llvm/llvm-project/commit/53abe3ff66a54117308352d379837c7d3229f8d6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MergeICmps.cpp
    A llvm/test/Transforms/MergeICmps/X86/no-gep-other-work.ll

  Log Message:
  -----------
  [MergeICmp] Make instruction move robust against empty block (NFCI)

Use the overload that support moving into an empty block. I don't
think that this situation can occur right now, but it can happen
with the change from e7fb1c15cb85d748c1c4fdd5a2eb5613ec7bef1d,
and the test is derived from the issue reported there.




More information about the All-commits mailing list