[PATCH] D108880: [WebAssembly] Support opaque pointers in FixFunctionBitcasts
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 28 14:58:13 PDT 2021
nikic created this revision.
nikic added reviewers: opaque-pointers, aheejin, tlively.
Herald added subscribers: dexonsmith, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
With opaque pointers, no actual bitcasts will be present. Instead, there will be a mismatch between the call FunctionType and the function ValueType. Change the code to collect CallBases specifically (rather than general Uses) and compare these types.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108880
Files:
llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
llvm/test/CodeGen/WebAssembly/function-bitcasts.ll
llvm/test/CodeGen/WebAssembly/main-declaration.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108880.369283.patch
Type: text/x-patch
Size: 9120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210828/cd836504/attachment.bin>
More information about the llvm-commits
mailing list