aqjune added a comment.

I agree readnone functions can read constant memory; at least LangRef doesn't 
restrict readnone functions from accessing memory (unless it changes a state 
visible to caller). I see that readnone is also attached to a function that 
loads from/stores to alloca: https://godbolt.org/z/RMAbWa


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74935



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to