[all-commits] [llvm/llvm-project] 6c3671: [InstCombine] Remove transformation on call instru...

YongKang Zhu via All-commits all-commits at lists.llvm.org
Fri Aug 2 09:08:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c367168d6787941df2945528d7414f94a697e60
      https://github.com/llvm/llvm-project/commit/6c367168d6787941df2945528d7414f94a697e60
  Author: YongKang Zhu <yongzhu at fb.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/skip-opt-void-to-non-void-conversion.ll

  Log Message:
  -----------
  [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.



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