[PATCH] D49517: [WebAssembly] Handle return type conversions in FixFunctionBitcasts pass

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 13:06:24 PDT 2018


sunfish requested changes to this revision.
sunfish added a comment.
This revision now requires changes to proceed.

Not all types are valid to cast to all other types. But beyond that, normal native platforms don't insert non-trivial casts in such situations, so even in many cases where it's valid to cast, it doesn't seem like programmers could reasonably expect a non-trivial cast to happen. What kinds of use cases are motivating this?


Repository:
  rL LLVM

https://reviews.llvm.org/D49517





More information about the llvm-commits mailing list