Closed
Bug 974981
Opened 11 years ago
Closed 10 years ago
InParallelSection() is not being inlined
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: nmatsakis, Unassigned)
References
Details
For some reason that I do not know, manual inspection of the MIR reveals that calls to the intrinsic InParallelSection() are not being inlined to either true/false as expected. Looking at the code in MCallOptimize, it seems that calls OUGHT to be inlined, but I haven't read too deeply, it could just be something silly.
This doesn't prevent par exec because there is a parallel version of InParallelSection() defined, but it would be good to replace such calls with a boolean constant because it would allow ion to better optimize the generated code -- in particular there are calls to InParallelSection() within the "hot loop" of parallel code.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•