[all-commits] [llvm/llvm-project] 2c736f: [InstCombine] Skip GEP of bitcast transform with o...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jan 27 01:53:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c736f666b7a563c6f696957fdfa09edd971ac72
      https://github.com/llvm/llvm-project/commit/2c736f666b7a563c6f696957fdfa09edd971ac72
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Skip GEP of bitcast transform with opaque pointers

This transform is fundamentally incompatible with opaque pointers.
Usually we would not hit it anyway because the bitcast is folded
away earlier, but due to worklist order it might survive until
here, so make sure we bail out explicitly.




More information about the All-commits mailing list