diff options
| author | Ali Mashtizadeh <ali@mashtizadeh.com> | 2026-04-08 05:36:53 +0000 |
|---|---|---|
| committer | Mitchell Horne <mhorne@FreeBSD.org> | 2026-04-24 15:33:42 +0000 |
| commit | 576c6e9620dff3e92f3c5d1e5be4d92c9eb29828 (patch) | |
| tree | 274524de9006e6e9441d730963be5b6da8fac4c8 /contrib/llvm-project/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp | |
| parent | 87ed6840a0a6320295f6abb43a987d20ae126cf7 (diff) | |
Ensure that the optional MSRs and the user flags are guarded by the
cpuid feature flags. This prevents the user from triggering undefined
behavior or crashes on AMD processors where some of these features are
not present. As part of this, I added the branch target and DATA4 MSRs
to the IBS op state as those are only present on a subset of the Zen
chips that I have tested.
Reviewed by: mhorne
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/2133
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
