summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-07-26 11:19:18 +0000
committerSanjay Patel <spatel@rotateright.com>2019-07-26 11:19:18 +0000
commitc229cfeb7a7e8c9fefafac6b8576f8a0aa1dee3a (patch)
tree1aeec4178d79bc1fab3860f49362ffdf07262c13 /lldb/source/Commands/CommandObjectPlatform.cpp
parentd93e8ece7b6223fde22b7c1aa1de493b44bbd20d (diff)
downloadbcm5719-llvm-c229cfeb7a7e8c9fefafac6b8576f8a0aa1dee3a.tar.gz
bcm5719-llvm-c229cfeb7a7e8c9fefafac6b8576f8a0aa1dee3a.zip
[InstCombine] remove flop from lerp patterns
(Y * (1.0 - Z)) + (X * Z) --> Y - (Y * Z) + (X * Z) --> Y + Z * (X - Y) This is part of solving: https://bugs.llvm.org/show_bug.cgi?id=42716 Factoring eliminates an instruction, so that should be a good canonicalization. The potential conversion to FMA would be handled by the backend based on target capabilities. Differential Revision: https://reviews.llvm.org/D65305 llvm-svn: 367101
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud