summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2021-11-18 21:45:27 +0000
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2021-11-19 19:21:24 +0000
commitbd22554af06e1f16dc9ff12eac8987f0ceebe8c1 (patch)
tree1b84b023f69cedc23383fbe1d20dacaf87f31349 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent47555d73f6538cf2c092a7314e3c82c631ce4ccb (diff)
[MLIR][GPU] Run generic LLVM optimizations when serializing (on AMD)
- Adds hooks that allow SerializeTo* passes to arbitrarily transform the produced LLVM Module before it is passed to the code generation passes. - Uses these hooks within the SerializeToHsaco pass in order to run LLVM optimizations and to set the optimization level on the TargetMachine. - Adds an optLevel parameter to SerializeToHsaco Future work may include moving much of what's been added to SerializeToHsaco to SerializeToBlob, but that would require confirmation from the NVVM backend maintainers that it would be appropriate to do so. Depends on D114107 Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D114113
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions