[PATCH] D38640: [WebAssembly] Narrow the scope of WebAssemblyFixFunctionBitcasts
Jacob Gravelle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 6 11:36:22 PDT 2017
jgravelle-google created this revision.
Herald added subscribers: aheejin, sbc100, jfb.
The pass to fix function bitcasts generates thunks for functions that
are called directly with a mismatching signature. It was also generating
thunks in cases where the function was address-taken, causing aliasing
problems in otherwise valid cases.
This patch tightens the restrictions for when the pass runs.
https://reviews.llvm.org/D38640
Files:
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
test/CodeGen/WebAssembly/function-bitcasts.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38640.118051.patch
Type: text/x-patch
Size: 5803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171006/751a653e/attachment.bin>
More information about the llvm-commits
mailing list