[PATCH] D65463: [WebAssembly] Fix conflict between ret legalization and sjlj

Keno Fischer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 15:01:12 PDT 2019


loladiro added a comment.

> Just out of curiosity, how did you discover this bug?

Realized I missed this question on my first read through. This came up compiling the julia system image. We do generally also lower things to sret. However, for things like `Union{RegEx, Int64}`, we emit that as a tagged union `{jl_value_t *, i8}`, which doesn't get sret'ed, because ideally we'd like it in two registers.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65463/new/

https://reviews.llvm.org/D65463





More information about the llvm-commits mailing list