http://llvm.org/bugs/show_bug.cgi?id=18863
JF Bastien <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #5 from JF Bastien <[email protected]> --- I think this is part of the le32-*-* behavior, and talking to jvoung/dschuff it sounds like we initially wanted to allow struct returns in PNaCl but then removed struct types to simplify things, so in PNaCl structs with a single integer get transformed to a single integers in a later pass. In NaCl there is no ABI issue (the IRT is the only external consumer of the ABI adn we build it ourselves). Same stands for Emscripten. It therefore seems like changing Clang to emit int returns when returning a struct with a single integer in le32-*-* mode is acceptable. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
