"llvm/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "08bf4c0f5a5981848343c9290c6ff79e9c0306ac"
Remove extra MayLoad/MayStore flags from atomic_load/store.
These extra flags are not required to properly order the atomic load/store instructions. SelectionDAGBuilder chains atomics as if they were volatile, and SelectionDAG::getAtomic() sets the isVolatile bit on the memory operands of all atomic operations. The volatile bit is enough to order atomic loads and stores during and after SelectionDAG. This means we set mayLoad on atomic_load, mayStore on atomic_store, and mayLoad+mayStore on the remaining atomic read-modify-write operations. llvm-svn: 162733
Loading
Please register or sign in to comment