summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-08-11 09:12:57 +0000
committerJames Molloy <james.molloy@arm.com>2015-08-11 09:12:57 +0000
commit134bec27226ab1d37cff44b04cef73b67321601b (patch)
tree694344ed69bba87532061b2dcfcdae634aee2dd6 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent1c78ca6a09cec862d6aad04e820dae98b71be9fc (diff)
Add support for floating-point minnum and maxnum
The select pattern recognition in ValueTracking (as used by InstCombine and SelectionDAGBuilder) only knew about integer patterns. This teaches it about minimum and maximum operations. matchSelectPattern() has been extended to return a struct containing the existing Flavor and a new enum defining the pattern's behavior when given one NaN operand. C minnum() is defined to return the non-NaN operand in this case, but the idiomatic C "a < b ? a : b" would return the NaN operand. ARM and AArch64 at least have different instructions for these different cases. llvm-svn: 244580
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions