[PATCH] D98120: [InstCombine] Do not apply provenance losing operations on GEP

Simonas Kazlauskas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 6 11:16:19 PST 2021


nagisa added a comment.

I'm quite surprised this change didn't affect //any// pre-existing tests. It however, is sufficient to resolve one of a fairly easily hit mis-compiles in Rust <https://github.com/rust-lang/rust/issues/80309>.

(Side note: my understanding of this area of code is fairly limited, looking forward to learning something out of this)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98120/new/

https://reviews.llvm.org/D98120



More information about the llvm-commits mailing list