[PATCH] D96881: Avoid Bitcast-GEP fusion for void pointers

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 00:23:41 PST 2021


lebedev.ri requested changes to this revision.
lebedev.ri added a comment.

In D96881#2569216 <https://reviews.llvm.org/D96881#2569216>, @nikic wrote:

> Haven't looked into the motivating case yet, but what this patch does is definitely not correct, because it is not permitted to make optimization decisions based on pointer element types.

+1.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96881



More information about the llvm-commits mailing list