[PATCH] D85882: [AMDGPU] Update subtarget features for new target ID support
Tony Tye via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 17 12:31:26 PST 2021
t-tye added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp:91
// unset everything else if it is disabled
+ TargetID.emplace(*this);
----------------
Is moving constructing TargetID to the constructor of GCNSubtarget equivalent? Was it originally put in GCNSubtarget::initializeSubtargetDependencies because the base classes were modified between the construction of GCNSubtarget and calling its GCNSubtarget::initializeSubtargetDependencies? I know this was all rather contorted logic that made it hard to reason about.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85882/new/
https://reviews.llvm.org/D85882
More information about the llvm-commits
mailing list