summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorScott Linder <Scott.Linder@amd.com>2019-12-03 17:18:21 -0500
committerScott Linder <Scott.Linder@amd.com>2019-12-05 11:27:12 -0500
commitd96ea47c75fdf4a62358eae49a0026bcf031bde6 (patch)
treeba114146d5ea5e871645a59be632095cceac8850 /lldb/packages/Python/lldbsuite/test
parent3c6b5d3674e85f2be81e74d104055269c017a430 (diff)
downloadbcm5719-llvm-d96ea47c75fdf4a62358eae49a0026bcf031bde6.tar.gz
bcm5719-llvm-d96ea47c75fdf4a62358eae49a0026bcf031bde6.zip
[AMDGPU][HIP] Improve opt-level handling
Summary: The HIP toolchain invokes `llc` without an explicit opt-level, meaning it always uses the default (-O2). This makes it impossible to use -O1, for example. The HIP toolchain also coerces -Os/-Oz to -O2 even when invoking opt, and it coerces -Og to -O2 rather than -O1. Forward the opt-level to `llc` as well as `opt`, and only coerce levels where it is required. Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70987
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud