[all-commits] [llvm/llvm-project] ce12e6: [Test] Fix tests showing generation of already exi...

Dmitry Makogon via All-commits all-commits at lists.llvm.org
Mon Nov 1 05:18:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce12e68a4944056fe87083664c3586286e39e6b1
      https://github.com/llvm/llvm-project/commit/ce12e68a4944056fe87083664c3586286e39e6b1
  Author: Dmitry Makogon <dmakogon at azul.com>
  Date:   2021-11-01 (Mon, 01 Nov 2021)

  Changed paths:
    M llvm/test/Transforms/GVN/gvn-eliminate-duplicating-phis.ll

  Log Message:
  -----------
  [Test] Fix tests showing generation of already existent PHIs by GVN

This is a fix for tests added by 96591a14cd25bc30519c293efa8e01b4c7e869f6.
A function which was called in tests wasn't marked as 'readonly', and the
GVN performed PRE for the loads, but they were supposed to be non-local.
So added 'readonly' to the called function.




More information about the All-commits mailing list