[all-commits] [llvm/llvm-project] 52b07d: [HLSL] Fix call convention mismatch for ctor/dtor ...
Nathan Gauër via All-commits
all-commits at lists.llvm.org
Tue Dec 17 04:26:26 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52b07d971c89ab8fbcc497f22c43931b488256ea
https://github.com/llvm/llvm-project/commit/52b07d971c89ab8fbcc497f22c43931b488256ea
Author: Nathan Gauër <brioche at google.com>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M clang/lib/CodeGen/CGHLSLRuntime.cpp
A clang/test/CodeGenHLSL/builtins/RWBuffer-constructor-opt.hlsl
Log Message:
-----------
[HLSL] Fix call convention mismatch for ctor/dtor (#118651)
Before this patch, there was a calling-convention mismatch between the
constructors and the actual call emitted for the entrypoint wrapper.
Such mismatch causes the InstCombine pass to replace this call with an
`unreachable`, breaking the whole function.
Signed-off-by: Nathan Gauër <brioche at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list