Skip to content
Commit 0076477a authored by Craig Topper's avatar Craig Topper
Browse files

[X86] When using "and $0" and "orl $-1" to store 0 and -1 for minsize, make...

[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

llvm-svn: 339041
parent f8a8c746
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment