summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-04-06 17:24:08 +0000
committerSanjay Patel <spatel@rotateright.com>2018-04-06 17:24:08 +0000
commita9ca709011d0621afa54fee11de39502db4b261b (patch)
tree80ebb921be9e1373c86f38640e16fb3d42d51fcc /llvm/lib/CodeGen/MachinePipeliner.cpp
parente0c2c49a15fb9e1f5a424c9269ab820038c480eb (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud