[all-commits] [llvm/llvm-project] 138ebe: WebAssembly: Don't duplicate implicit CALL operand...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 21 04:49:32 PDT 2026


  Branch: refs/heads/users/arsenm/wasm/avoid-duplicating-call-implicit-operands
  Home:   https://github.com/llvm/llvm-project
  Commit: 138ebe079620669ed17cc30851c90f03bbb2273b
      https://github.com/llvm/llvm-project/commit/138ebe079620669ed17cc30851c90f03bbb2273b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp

  Log Message:
  -----------
  WebAssembly: Don't duplicate implicit CALL operands in LowerCallResults

When recombining the CALL_PARAMS/CALL_RESULTS pseudo-pair into a real CALL,
LowerCallResults copied CallParams.uses() onto the new instruction. uses()
includes the implicit operands (implicit-def $arguments and the implicit
$sp32/$sp64 uses), which the freshly created CALL already carries. This
resulted in a duplicated implicit-def of $arguments. This avoids a future
verifier error.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.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