diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-04-06 17:24:08 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-04-06 17:24:08 +0000 |
commit | a9ca709011d0621afa54fee11de39502db4b261b (patch) | |
tree | 80ebb921be9e1373c86f38640e16fb3d42d51fcc /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | e0c2c49a15fb9e1f5a424c9269ab820038c480eb (diff) | |
download | bcm5719-llvm-a9ca709011d0621afa54fee11de39502db4b261b.tar.gz bcm5719-llvm-a9ca709011d0621afa54fee11de39502db4b261b.zip |
[InstCombine] limit nsz: -(X - Y) --> Y - X to hasOneUse()
As noted in the post-commit discussion for r329350, we shouldn't
generally assume that fsub is the same cost as fneg.
llvm-svn: 329429
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions