diff options
author | Nathan Gauër <brioche@google.com> | 2025-07-24 16:45:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-24 16:45:33 +0200 |
commit | f45e6a2834b4e7a9128b93702821a4ae944ed57b (patch) | |
tree | 8fa8f8e0c0c8b338abe97b819c25be4989201a28 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 34986003d14704c5e4926859249995d9628f89d8 (diff) | |
download | llvm-f45e6a2834b4e7a9128b93702821a4ae944ed57b.zip llvm-f45e6a2834b4e7a9128b93702821a4ae944ed57b.tar.gz llvm-f45e6a2834b4e7a9128b93702821a4ae944ed57b.tar.bz2 |
[SPIR-V] Fix emit intrinsic for resource type (#150224)
This is a quick fix to make progress to the backend until we get a
proper type scavenging system.
The previous code was only checking the type if the resource was used
once. Slightly changed the code to look to all usages, and get the first
type.
This will certainly break in other cases, but it allows us to move
forward for now until we rewrite the type scavenging to handle untyped
GEP/ptradd correctly.
Related to #145002
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions