[PATCH] D95410: [WebAssembly] Fix Fast ISEL not lowering 64-bit function pointers
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 25 23:57:14 PST 2021
tlively accepted this revision.
tlively added inline comments.
================
Comment at: llvm/test/CodeGen/WebAssembly/fast-isel-call-indirect64.ll:13-21
+define hidden i32 @b(i32 (...)* %f) {
+entry:
+ %f.addr = alloca i32 (...)*, align 8
+ store i32 (...)* %f, i32 (...)** %f.addr, align 8
+ %0 = load i32 (...)*, i32 (...)** %f.addr, align 8
+ %callee.knr.cast = bitcast i32 (...)* %0 to i32 ()*
+ %call = call i32 %callee.knr.cast()
----------------
This test function could be stripped down even more.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95410/new/
https://reviews.llvm.org/D95410
More information about the llvm-commits
mailing list