[all-commits] [llvm/llvm-project] 39796e: Reapply [InstCombine] Don't try converting opaque ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 21 13:16:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39796e1ad02a45b09ac3ef9e3dc1906f28804a91
      https://github.com/llvm/llvm-project/commit/39796e1ad02a45b09ac3ef9e3dc1906f28804a91
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

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

  Log Message:
  -----------
  Reapply [InstCombine] Don't try converting opaque pointer bitcast to GEP

Reapplied without changes -- this was reverted together with an
underlying patch.

-----

Bitcasts having opaque pointer source or result type cannot be
converted into a zero-index GEP, GEP source and result types
always have the same opaque-ness.




More information about the All-commits mailing list