[all-commits] [llvm/llvm-project] 693b1f: [InstCombine] Skip some GEP folds under opaque poi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 28 06:35:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 693b1f1e1bd1bc2060ea8cfd2129cb0123397a8c
      https://github.com/llvm/llvm-project/commit/693b1f1e1bd1bc2060ea8cfd2129cb0123397a8c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-28 (Tue, 28 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/opaque-ptr.ll

  Log Message:
  -----------
  [InstCombine] Skip some GEP folds under opaque pointers

In their current form, these folds are fundamentally incompatible
with opaque pointers. We should add a separate set of folds for
the canonicalization of the GEP source type. For now, skip these
folds.




More information about the All-commits mailing list