Heejin Ahn 0e37487df8 [WebAssembly] Fix selection of global calls
When selecting calls, currently we unconditionally remove `Wrapper`s of
the call target. But we are supposed to do that only when the target is
a function, an external symbol (= library function), or an alias of a
function. Otherwise we end up directly calling globals that are not
functions.

Fixes https://github.com/llvm/llvm-project/issues/60003.

Reviewed By: tlively, HerrCai0907

Differential Revision: https://reviews.llvm.org/D147397
2023-04-05 01:42:36 -07:00
..
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-02-22 10:02:16 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00
2023-01-26 10:26:24 +00:00