aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorGreg Roth <grroth@microsoft.com>2024-11-12 09:52:14 -0700
committerGitHub <noreply@github.com>2024-11-12 09:52:14 -0700
commit47ef3a0951e1f285caef4aff289b12ed0a57137d (patch)
tree94bc8bdb27a15d3567803d9e7647ba08aa2b7d6f /llvm/lib/Bitcode
parent63fb980d50c2ab513dd046f93983bab93dee787f (diff)
downloadllvm-47ef3a0951e1f285caef4aff289b12ed0a57137d.zip
llvm-47ef3a0951e1f285caef4aff289b12ed0a57137d.tar.gz
llvm-47ef3a0951e1f285caef4aff289b12ed0a57137d.tar.bz2
[DirectX] Eliminate resource global variables from module (#114105)
By giving these intrinsics their appropriate attributes, loads of globals that are stored on the other side of these calls can be eliminated by the EarlyCSE pass. Stores to the same globals and the globals themselves require more direct intervention as part of the create/annotated handle lowering. Adds a test that verifies that the unneeded globals and their uses can be eliminated and also that the attributes are set properly. Fixes #104271
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions