Skip to content
Commit 3c9b5f39 authored by Dan Gohman's avatar Dan Gohman
Browse files

Don't narrow the load and store in a load+twiddle+store sequence unless

there are clearly no stores between the load and the store. This fixes
this miscompile reported as PR7833.

This breaks the test/CodeGen/X86/narrow_op-2.ll optimization, which is
safe, but awkward to prove safe. Move it to X86's README.txt.

llvm-svn: 112861
parent 32e4c861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment