[PATCH] D109548: Make llvm.launder.invariant.group writeonly

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 06:06:05 PDT 2021


nikic added a comment.

@Prazek `writeonly` only says that no memory is read, it does not determine which location is actually written. `launder.invariant.group`does not read or write the pointer operands (it is inaccessiblememonly), it "writes" some inaccessible location to avoid code motion optimizations. To perform DSE, we need to know the location being written.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109548



More information about the llvm-commits mailing list