aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ThreadPool.cpp
diff options
context:
space:
mode:
authorMin-Yih Hsu <min.hsu@sifive.com>2025-10-03 18:22:53 -0700
committerGitHub <noreply@github.com>2025-10-03 18:22:53 -0700
commitcb8b48e583f8f31ef162bcbaabbe95815f08230d (patch)
tree746fa8ebc2842bb13a4ca7e12c528f4b5650469d /llvm/lib/Support/ThreadPool.cpp
parentf3673c5e5bfef176b3f630d82ec2299390b8a69a (diff)
downloadllvm-cb8b48e583f8f31ef162bcbaabbe95815f08230d.zip
llvm-cb8b48e583f8f31ef162bcbaabbe95815f08230d.tar.gz
llvm-cb8b48e583f8f31ef162bcbaabbe95815f08230d.tar.bz2
[TableGen][MC] Pass a MCSubtargetInfo instance into resolveVariantSchedClassImpl (#161886)
`Target_MC::resolveVariantSchedClassImpl` is the implementation function for `TargetGenMCSubtargetInfo::resolveVariantSchedClass`. Despite being only called by `resolveVariantSchedClass`, `resolveVariantSchedClassImpl` is still a standalone function that cannot access a MCSubtargetInfo through `this` (i.e. `TargetGenMCSubtargetInfo`). And having access to a `MCSubtargetInfo` could be useful for some (future) SchedPredicate. This patch modifies TableGen to generate `resolveVariantSchedClassImpl` with an additional `MCSubtargetInfo` argument passing in. Note that this does not change any public interface in either `TargetGenMCSubtargetInfo ` or `MCSubtargetInfo`, as `resolveVariantSchedClassImpl` is basically an internal function.
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions