[all-commits] [llvm/llvm-project] 4ad419: [GVN] Correctly set modified status when doing PRE...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Dec 27 13:59:36 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ad41902e8c7481ccf3cdf6e618dfcd1e1fc10fc
      https://github.com/llvm/llvm-project/commit/4ad41902e8c7481ccf3cdf6e618dfcd1e1fc10fc
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-12-27 (Sun, 27 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    A llvm/test/Transforms/GVN/PRE/modified-status.ll
    M llvm/test/Transforms/GVN/PRE/pre-gep-load.ll

  Log Message:
  -----------
  [GVN] Correctly set modified status when doing PRE on indices.

This patch updates GVN to correctly return the modified status, if PRE
is performed on indices. It fixes a crash when building the test-suite
with EXPENSIVE_CHECKS and LTO.




More information about the All-commits mailing list