[all-commits] [llvm/llvm-project] 8aefa2: [InstCombine] Don't remove non-terminator unreacha...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 22 06:53:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8aefa2bf392ec7a82f2eceba241ae0fac9e5d42e
      https://github.com/llvm/llvm-project/commit/8aefa2bf392ec7a82f2eceba241ae0fac9e5d42e
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    M llvm/test/Transforms/InstCombine/constant-fold-shifts.ll
    M llvm/test/Transforms/InstCombine/not-add.ll
    M llvm/test/Transforms/InstCombine/phi.ll
    M llvm/test/Transforms/InstCombine/udiv-simplify.ll

  Log Message:
  -----------
  [InstCombine] Don't remove non-terminator unreachable markers

Even if the value happens to be undef, we should preserve these so
they get turned into an unreachable terminator later.




More information about the All-commits mailing list