[all-commits] [llvm/llvm-project] b5a262: [DSE] Fix DSE test to use non-extern global (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 3 00:39:47 PST 2022


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

  Changed paths:
    M llvm/test/Transforms/DeadStoreElimination/trivial-dse-calls.ll

  Log Message:
  -----------
  [DSE] Fix DSE test to use non-extern global (NFC)

The intended transform is not legal with an extern global, because
the actual global defined in a different TU might have larger
size. Make it non-extern to show that the desired transform already
works.




More information about the All-commits mailing list