commit | 1f13752cbef6991efe0fce1ee8686de0dfbaedc6 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Wed May 25 05:53:04 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Wed May 25 05:53:04 2016 +0000 |
tree | 2a1b66c61e525d375f98f7e8b8670327db158e33 | |
parent | 9f618c879141cba0aac1211de4b981bdadb6724d [diff] |
[FunctionAttrs] Volatile loads should disable readonly A volatile load has side effects beyond what callers expect readonly to signify. For example, it is not safe to reorder two function calls which each perform a volatile load to the same memory location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270671 91177308-0d34-0410-b5e6-96231b3b80d8