[llvm] Fix incorrect codegen with respect to GEPs #85333 (PR #88440)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 20 05:01:09 PDT 2024


nikic wrote:

This is probably not the right way to fix this: GEPs are not the only instruction type that has non-operand state. Either there is some other place already taking this into account in GVNSink that needs to be adapted for GEPs, or GVNSink should be calling hasSameSpecialState() (or one of that family of functions).

https://github.com/llvm/llvm-project/pull/88440


More information about the llvm-commits mailing list