[all-commits] [llvm/llvm-project] d91c9a: [WebAssembly] Select call_indirect for alloca calls

Heejin Ahn via All-commits all-commits at lists.llvm.org
Wed Mar 29 12:47:22 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d91c9aef9b37924b2188b88fc1091f0926e6158d
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/test/CodeGen/WebAssembly/call-indirect.ll

  Log Message:
  [WebAssembly] Select call_indirect for alloca calls

Currently calling stack locations is selected using `CALL` in ISel,
resulting in an invalid code and crashing in AsmPrinter. FastISel
correctly selects it will `CALL_INDIRECT`.

Fixes the problem reported in D146781.

Reviewed By: tlively, HerrCai0907

Differential Revision: https://reviews.llvm.org/D147033

More information about the All-commits mailing list