[PATCH] D85882: [AMDGPU] Update subtarget features for new target ID support
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 30 11:34:59 PST 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h:303
+ Optional<AMDGPU::IsaInfo::AMDGPUTargetID> TargetID;
+
----------------
kerbowa wrote:
> arsenm wrote:
> > Don't see why this would be Optional if the query just crashes if it's missing
> It's not constructed until "initializeSubtargetDependencies" is called.
It can just use an invalid target ID value then
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