[PATCH] D60659: [InstCombine] Eliminate stores to constant memory

Tianle Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 20:15:04 PDT 2019


liutianle added a comment.

hi reames, I have a question in the view of customer. If he writes deliberately to a read-only memory to expect trigger a seg fault, or if he wants to write to a memory which he does not realize it is read only. Should compiler tell him the writing is invalid, rather than treat it as a nop silently?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60659





More information about the llvm-commits mailing list