craig.topper added a comment.

In D87888#2285878 <https://reviews.llvm.org/D87888#2285878>, @rnk wrote:

> Honestly, I forget exactly what the memory clobber does beyond the 
> "sideeffect" marker. I would expect LLVM to model these just as external 
> function calls that could read or write memory that is passed to them.

The middle end may not care about the memory clobber. I think in the backend 
the memory clobber will cause mayLoad and mayStore to be set on the INLINASM 
instruction. Not sure if that does anything that sideeffects didn't already do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87888

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

Reply via email to