[all-commits] [llvm/llvm-project] c28ce7: Value-number GVNHoist loads by result type as well...

Chang Lin via All-commits all-commits at lists.llvm.org
Wed Mar 30 11:34:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c28ce745cf1917dedee66719281ac2d5741637f0
      https://github.com/llvm/llvm-project/commit/c28ce745cf1917dedee66719281ac2d5741637f0
  Author: Chang-Sun Lin Jr <chang-sun.lin.jr at intel.com>
  Date:   2022-03-30 (Wed, 30 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVNHoist.cpp
    A llvm/test/Transforms/GVNHoist/opaque-diff-type.ll

  Log Message:
  -----------
  Value-number GVNHoist loads by result type as well as pointer address.

Avoids merge errors when opaque pointers are loaded into different types.

Reviewed by: jcranmer-intel, hiraditya
Differential Revision: https://reviews.llvm.org/D122521




More information about the All-commits mailing list