[all-commits] [llvm/llvm-project] 252d1c: [InstCombine] Remove instructions before non-termi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 22 07:35:02 PDT 2023


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll
    M llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll
    M llvm/test/Transforms/InstCombine/unreachable-code.ll

  Log Message:
  -----------
  [InstCombine] Remove instructions before non-terminator unreachable

Treat non-terminator unreachable the same as unreachable, and
remove guaranteed-to-transfer instructions before it.




More information about the All-commits mailing list