[PATCH] D132657: [DSE] Eliminate noop store even through has clobbering between LoadI and StoreI

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 02:23:02 PDT 2022


StephenFan added a comment.

In D132657#3766284 <https://reviews.llvm.org/D132657#3766284>, @nikic wrote:

> In D132657#3766253 <https://reviews.llvm.org/D132657#3766253>, @efriedma wrote:
>
>> Do you need some sort of alignment check here?
>
> Gah, you're right. If it doesn't happen to be a splat value, then writes at an offset become a problem.

https://godbolt.org/z/5oEh8rdY6 Is this the problem you mentioned?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132657



More information about the llvm-commits mailing list