commit | 24bde5bce192119ee0fc4f94ef8757fd4031e5f6 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Sep 02 21:18:42 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Sep 02 21:18:42 2010 +0000 |
tree | 33efa1083f81d0600127fc08d38b6aac0ff7d819 | |
parent | 8e741ed2fa16f46ab586bf3a54526cd9c2338c5b [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112861 91177308-0d34-0410-b5e6-96231b3b80d8