[all-commits] [llvm/llvm-project] ed9806: [InstCombine] Make worklist check in memcpy from c...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 23 05:16:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed9806363beb1caf5265e75a64de904b60218093
      https://github.com/llvm/llvm-project/commit/ed9806363beb1caf5265e75a64de904b60218093
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    M llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll

  Log Message:
  -----------
  [InstCombine] Make worklist check in memcpy from constant fold more precise

The phi operands need to be either in the worklist or be the
alloca itself, because that one does not require replacement.




More information about the All-commits mailing list