summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorAnton Afanasyev <anton.a.afanasyev@gmail.com>2019-05-22 07:41:34 +0000
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>2019-05-22 07:41:34 +0000
commitdf00c6a54f274ca06775890774b23eee87e8a170 (patch)
tree2e4f6da3b297e5c7c74fad7157fadccb8cb8b183 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent1c61471ab1cba735f57824ec8a38db845e60ab84 (diff)
downloadbcm5719-llvm-df00c6a54f274ca06775890774b23eee87e8a170.tar.gz
bcm5719-llvm-df00c6a54f274ca06775890774b23eee87e8a170.zip
[MIR] Add simple PRE pass to MachineCSE
This is the second part of the commit fixing PR38917 (hoisting partitially redundant machine instruction). Most of PRE (partitial redundancy elimination) and CSE work is done on LLVM IR, but some of redundancy arises during DAG legalization. Machine CSE is not enough to deal with it. This simple PRE implementation works a little bit intricately: it passes before CSE, looking for partitial redundancy and transforming it to fully redundancy, anticipating that the next CSE step will eliminate this created redundancy. If CSE doesn't eliminate this, than created instruction will remain dead and eliminated later by Remove Dead Machine Instructions pass. The third part of the commit is supposed to refactor MachineCSE, to make it more clear and to merge MachinePRE with MachineCSE, so one need no rely on further Remove Dead pass to clear instrs not eliminated by CSE. First step: https://reviews.llvm.org/D54839 Fixes llvm.org/PR38917 llvm-svn: 361356
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud