[X86] When using "and $0" and "orl $-1" to store 0 and -1 for minsize, make sure the store isn't volatile

If the store is volatile this might be a memory mapped IO access. In that case we shouldn't generate a load that didn't exist in the source

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339041 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed