diff options
author | Deric C. <cheung.deric@gmail.com> | 2025-07-17 14:46:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-17 14:46:45 -0700 |
commit | 689e95817e1671b0ed6c7f2031fbcf2f81632978 (patch) | |
tree | 8c6040a2d56fb205b6312d9432553e11c6879984 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 5d78332e8aa8c2542aae80fd580c8137a060cb6b (diff) | |
download | llvm-689e95817e1671b0ed6c7f2031fbcf2f81632978.zip llvm-689e95817e1671b0ed6c7f2031fbcf2f81632978.tar.gz llvm-689e95817e1671b0ed6c7f2031fbcf2f81632978.tar.bz2 |
[DirectX] Add a GEP to scalar load/store on globals and remove incorrect assertion (#149191)
Fixes #149180
This PR removes an assertion that triggered on valid IR. It has been
replaced with an if statement that returns early if the conditions are
not correct.
This PR also adds GEPs to scalar loads and stores from/to global
variables.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions