[all-commits] [llvm/llvm-project] b16400: [AMDGPU] isPassEnabled() helper to check cl::opt a...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Tue Jul 6 22:15:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b16400449fc763fdae2d2ce809ce61c88acb6684
https://github.com/llvm/llvm-project/commit/b16400449fc763fdae2d2ce809ce61c88acb6684
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2021-07-06 (Tue, 06 Jul 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Log Message:
-----------
[AMDGPU] isPassEnabled() helper to check cl::opt and OptLevel
We have several checks for both cl::opt and OptLevel over our
pass config, although these checks do not properly work if
default value of a cl::opt will be false. Create a helper to
use instead and properly handle it. NFC for now.
Differential Revision: https://reviews.llvm.org/D105517
More information about the All-commits
mailing list