The pass also seems to compound with some of our other passes making even worse AOT performance.
As far as I can see, this hack stops consecutive blocks from falling through (by keeping jump terminators around). This seems to be because PT would see fallthrough as one large block instead of two (or small) smaller blocks and that might break the mapper.
Questions:
Does it break the mapper though?
If it does, why should it? Blockmap queries have the ability to return more than one block. Combined with the corr_bbs stuff, in my head this shouldn't be an issue...
This hack is slowing AOT code down:
(Data collected by @nmdis1999)
The pass also seems to compound with some of our other passes making even worse AOT performance.
As far as I can see, this hack stops consecutive blocks from falling through (by keeping jump terminators around). This seems to be because PT would see fallthrough as one large block instead of two (or small) smaller blocks and that might break the mapper.
Questions:
corr_bbs
stuff, in my head this shouldn't be an issue...