[CodeGenPrepare] Don't split the store if it is volatile
authorQingShan Zhang <qshanz@cn.ibm.com>
Wed, 8 May 2019 07:32:12 +0000 (07:32 +0000)
committerQingShan Zhang <qshanz@cn.ibm.com>
Wed, 8 May 2019 07:32:12 +0000 (07:32 +0000)
commit0e71a6e755f092f4ba8fca2a80f211b9808a7893
tree5111196b02f8c606d5f5aba454aa950044e1d8bb
parent17dbb19f704d7903ca04494e4c7b459db034bf00
[CodeGenPrepare] Don't split the store if it is volatile
We shouldn't split the store when it is volatile.

Differential Revision: https://reviews.llvm.org/D61169

llvm-svn: 360228
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/CodeGen/PowerPC/splitstore-check-volatile.ll [new file with mode: 0644]