[all-commits] [llvm/llvm-project] d122d9: [InstCombine] Fix GEP of GEP fold with opaque poin...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 27 05:57:29 PST 2021


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

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

  Log Message:
  -----------
  [InstCombine] Fix GEP of GEP fold with opaque pointers

We need to check that result and source element types match, as
this is no longer automatically enforced with opaque pointers.




More information about the All-commits mailing list