diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-12-18 22:28:53 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-12-19 11:45:51 +0000 |
| commit | c1340b9e78482aff3f0b55bfacc9c9b753ac2f53 (patch) | |
| tree | caccbf7b919cb618c280f48fa8e8834b2a1ff122 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp | |
| parent | 56b2b1b8fd618775222d589100bad7584d392dcd (diff) | |
| download | llvm-c1340b9e78482aff3f0b55bfacc9c9b753ac2f53.zip llvm-c1340b9e78482aff3f0b55bfacc9c9b753ac2f53.tar.gz llvm-c1340b9e78482aff3f0b55bfacc9c9b753ac2f53.tar.bz2 | |
[DAG] Improve FMINNUM/FMAXNUM/FMINIMUM/FMAXIMUM constant folding
Merge the node combines into a common DAGCombiner::visitFMinMax (like we do for IMINMAX).
Move the constant folding into SelectionDAG::foldConstantFPMath.
This allows us to fold the vecreduce-propagate-sd-flags.ll test as it reduces constants - so I've refactored it to take variables instead.
Differential Revision: https://reviews.llvm.org/D115952
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
