[all-commits] [llvm/llvm-project] bcae37: [llubi] Reset retval when return type is void (#20...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Jun 22 07:09:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcae37f4a8e8d163e34080186b789a6cb0ae91d1
      https://github.com/llvm/llvm-project/commit/bcae37f4a8e8d163e34080186b789a6cb0ae91d1
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    A llvm/test/tools/llubi/reset_return_value_slot.ll
    M llvm/tools/llubi/lib/Interpreter.cpp

  Log Message:
  -----------
  [llubi] Reset retval when return type is void (#205107)

In `returnFromCallee`, the return value is moved out from
`CurrentFrame->RetVal`. So `visitReturnInst` is always responsible for
setting a valid value.

Closes https://github.com/llvm/llvm-project/issues/204992



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