summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetSubtargetInfo.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-04-15 16:43:48 +0000
committerSanjay Patel <spatel@rotateright.com>2018-04-15 16:43:48 +0000
commit6c3af659a296d61ecba2fbf83d67e7292a601f69 (patch)
tree8874b3a59af393f62ddb2a484669c9011161cf5b /llvm/lib/CodeGen/TargetSubtargetInfo.cpp
parent34ea6cdfab06982916a554a4c5dfd2eb4707d7c6 (diff)
downloadbcm5719-llvm-6c3af659a296d61ecba2fbf83d67e7292a601f69.tar.gz
bcm5719-llvm-6c3af659a296d61ecba2fbf83d67e7292a601f69.zip
[DAGCombiner, PowerPC] allow X - (fpext(-Y) --> X + fpext(Y) with multiple uses
This is a transform that I limited in instcombine in rL329821 because it was creating more instructions in IR when the cast has multiple uses. But if the cast is free, then we can do the transform regardless of other uses because it improves the potential throughput of the calculation by removing a dependency on the fneg. Differential Revision: https://reviews.llvm.org/D45598 llvm-svn: 330098
Diffstat (limited to 'llvm/lib/CodeGen/TargetSubtargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud