diff options
author | Nathan Gauër <brioche@google.com> | 2024-12-17 13:26:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 13:26:03 +0100 |
commit | 52b07d971c89ab8fbcc497f22c43931b488256ea (patch) | |
tree | f7a65a7f14a9e4644ab205ff43c3a1613c16dc5b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 56fd46edb38e4bab7e48c668683ba72709beb64f (diff) | |
download | llvm-52b07d971c89ab8fbcc497f22c43931b488256ea.zip llvm-52b07d971c89ab8fbcc497f22c43931b488256ea.tar.gz llvm-52b07d971c89ab8fbcc497f22c43931b488256ea.tar.bz2 |
[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@google.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions