summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorQiu Chaofan <qiucofan@cn.ibm.com>2020-09-26 13:46:40 +0800
committerQiu Chaofan <qiucofan@cn.ibm.com>2020-09-26 13:57:52 +0800
commitc0f8e4c06c85db256806cfce90a2b49e4cdd58d4 (patch)
tree3034863fa4c5acdecf425b0dc4bf106542442cb0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent2ca0ea15e5c910ff93874679f0a03c923fe85e5b (diff)
[SelectionDAG] Add guard to automatically insert flags
This is like FastMathFlagGuard in IR. Since we use SDAG instance to get values, it's with SelectionDAG. By creating a FlagInserter in current scope, all values created by getNode will get the flags if no Flags argument provided. In this patch, I applied it to floating point operations folding part in DAG combiner, and removed Flags passing to getNode to show its effect. Other places in DAG combiner and other helper methods similar to getNode also need this. They can be done in follow-up patches. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D87361
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions