llvm-project
2c429b56 - WebAssembly: Don't duplicate implicit CALL operands in LowerCallResults (#225069)

Commit
62 days ago
WebAssembly: Don't duplicate implicit CALL operands in LowerCallResults (#225069) 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@anthropic.com>
Author
Parents
Loading