diff options
| author | YongKang Zhu <yongzhu@fb.com> | 2024-08-02 09:07:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 09:07:48 -0700 |
| commit | 6c367168d6787941df2945528d7414f94a697e60 (patch) | |
| tree | e55d664d6de92085cffd923723c3c9be8f105a68 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
| parent | 4aac78dd4a89f16657c162320e3a720437cb7284 (diff) | |
| download | llvm-6c367168d6787941df2945528d7414f94a697e60.zip llvm-6c367168d6787941df2945528d7414f94a697e60.tar.gz llvm-6c367168d6787941df2945528d7414f94a697e60.tar.bz2 | |
[InstCombine] Remove transformation on call instruction where return value need void to non-void conversion (#98536)
Skip simplification on call instruction where a non-void return value is
expected but the callee returns void, which is undefined behavior and
could lead to non-determinism or crashes.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions
