[all-commits] [llvm/llvm-project] cb0347: Reapply [MergeLoadStoreMotion] Don't require GEP f...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 27 03:50:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb03470aefb91dfd0d01f2651d604e9afaef5cb1
      https://github.com/llvm/llvm-project/commit/cb03470aefb91dfd0d01f2651d604e9afaef5cb1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-27 (Tue, 27 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
    M llvm/test/Transforms/MergedLoadStoreMotion/st_sink_no_gep.ll
    M llvm/test/Transforms/MergedLoadStoreMotion/st_sink_split_bb.ll

  Log Message:
  -----------
  Reapply [MergeLoadStoreMotion] Don't require GEP for sinking

Reapply with a fix for a failing debuginfo assignment tracking test.

-----

Allow sinking stores where both operands are the same, don't require
them to have an identical GEP in each block.

This came up when migrating tests to opaque pointers, where
zero-index GEPs are omitted.




More information about the All-commits mailing list