aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNathan Gauër <brioche@google.com>2025-07-24 16:45:33 +0200
committerGitHub <noreply@github.com>2025-07-24 16:45:33 +0200
commitf45e6a2834b4e7a9128b93702821a4ae944ed57b (patch)
tree8fa8f8e0c0c8b338abe97b819c25be4989201a28 /flang/lib/Frontend/CompilerInvocation.cpp
parent34986003d14704c5e4926859249995d9628f89d8 (diff)
downloadllvm-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