commit | 91a7e0184a4f7976ef11cb48697d2782fc1b9be7 | [log] [tgz] |
---|---|---|
author | Nadav Rotem <nrotem@apple.com> | Thu Sep 13 14:54:28 2012 +0000 |
committer | Nadav Rotem <nrotem@apple.com> | Thu Sep 13 14:54:28 2012 +0000 |
tree | 2dd9e6c2fbd94d6225a3e9e154d37a1756fed052 | |
parent | faf31d01db913b477b749c9f11f18a9471c0a672 [diff] |
Fix a dagcombine optimization. The optimization attempts to optimize a bitcast of fneg to integers by xoring the high-bit. This fails if the source operand is a vector because we need to negate each of the elements in the vector. Fix rdar://12281066 PR13813. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163802 91177308-0d34-0410-b5e6-96231b3b80d8