[all-commits] [llvm/llvm-project] 651399: [InstSimplify] Restrict a GEP transform to avoid p...

Simonas Kazlauskas via All-commits all-commits at lists.llvm.org
Tue Mar 16 09:53:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6513995be37b73cb168bec5f7fa66015893659bf
      https://github.com/llvm/llvm-project/commit/6513995be37b73cb168bec5f7fa66015893659bf
  Author: Simonas Kazlauskas <git at kazlauskas.me>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/gep.ll

  Log Message:
  -----------
  [InstSimplify] Restrict a GEP transform to avoid provenance changes

This is a follow-up to D98588, and fixes the inline `FIXME` about a GEP-related simplification not
preserving the provenance.

https://alive2.llvm.org/ce/z/qbQoAY

Additional tests were added in {rGf125f28afdb59eba29d2491dac0dfc0a7bf1b60b}

Depends on D98672

Reviewed By: lebedev.ri

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




More information about the All-commits mailing list