summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2021-07-20 14:37:06 -0700
committerArtem Belevich <tra@google.com>2021-08-06 11:13:52 -0700
commit6a9cf21f5a2dcd02f90075d6d3576a87f1abd8a9 (patch)
treec34ffe8d486f0b8e5c99436a034abb613d18ddd8 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentf59f6598790c8a74bcb1ab7e045484925e8bf551 (diff)
[CUDA, MemCpyOpt] Add a flag to force-enable memcpyopt and use it for CUDA.
Attempt to enable MemCpyOpt unconditionally in D104801 uncovered the fact that there are users that do not expect LLVM to materialize `memset` intrinsic. While other passes can do that, too, MemCpyOpt triggers it more frequently and breaks sanitizers and some downstream users. For now introduce a flag to force-enable the flag and opt-in only CUDA compilation with NVPTX back-end. Differential Revision: https://reviews.llvm.org/D106401
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions