https://llvm.org/bugs/show_bug.cgi?id=27524
Bug ID: 27524 Summary: return optimization opportunities Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: WebAssembly Assignee: unassignedb...@nondot.org Reporter: alonza...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified The wasm backend currently emits unnecessary returns, which are unnecessary since control flow goes out of the function anyhow, like a return at the very end of a function (which can be replaced with nothing, or with the value if there is one). On BananaBread, removing such returns eliminates 2906 out of 4142 (70%, 0.3% of total nodes). -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs