[all-commits] [llvm/llvm-project] 8357ff: [test][InstCombine] Add a test case for volatile m...

Patrick Walton via All-commits all-commits at lists.llvm.org
Sun Oct 30 02:39:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8357ff6f3d6d0582279d7cc4ee3db04ce2b46318
      https://github.com/llvm/llvm-project/commit/8357ff6f3d6d0582279d7cc4ee3db04ce2b46318
  Author: Patrick Walton <pcwalton at fb.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/memcpy-from-global.ll

  Log Message:
  -----------
  [test][InstCombine] Add a test case for volatile memcpy forwarding in InstCombine, which is currently optimized incorrectly.

D136822 demonstrated that we currently delete volatile memcpys in InstCombine,
which we shouldn't do. This commit adds a test for this. A forthcoming commit
will fix it.

Differential Revision: https://reviews.llvm.org/D137029




More information about the All-commits mailing list