Page MenuHomePhabricator
Feed Advanced Search

Oct 12 2018

cramertj added a comment to D53184: [LangRef] Clarify semantics of volatile operations..

Hal brought up the possibility on llvmdev that certain APIs like isSafeToLoadUnconditionally and FindAvailablePtrLoadStore might assume that volatile operations do in fact point to memory; I think we should just treat that as a bug, though.

I agree. We should not use the presence of a volatile operation to justify adding other non-volatile accesses to the same address (and, by definition, we can't add other volatile accesses).

Oct 12 2018, 10:12 AM