[PATCH] D123473: [LICM] Only create load in pre-header when promoting load.

Nuno Lopes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 14:30:35 PDT 2022


nlopes added a subscriber: regehr.
nlopes added a comment.

@regehr If you have time, it would be nice to fuzz LICM to check if this assertion can be triggered (after the patch lands).
It needs a function with the `writeonly` attribute + a pointer as input (or a global variable), a loop with a store to said pointer, a phi, and that's it (i.e., the test cases here as seed). Then some random stuff to make it crash.
Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123473



More information about the llvm-commits mailing list