commit | 52af82df95e656434b89638bbd095cd4252b880e | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Fri Sep 05 22:26:22 2014 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Fri Sep 05 22:26:22 2014 +0000 |
tree | 6c4b5af0aa001032c038768a526d26fd9cf48ad0 | |
parent | e8b19acded1d944918a35c6196d8336916dde735 [diff] |
Allow vector fsub ops with constants to get the same optimizations as scalars. This problem is bigger than just fsub, but this is the minimum fix to solve fneg for PR20556 ( http://llvm.org/bugs/show_bug.cgi?id=20556 ), and we solve zero subtraction with the same change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217286 91177308-0d34-0410-b5e6-96231b3b80d8