RFR: 8329555: Crash in intrinsifying heap-based MemorySegment Vector store/loads [v3]
Jatin Bhateja
jbhateja at openjdk.org
Wed Apr 24 02:21:33 UTC 2024
On Tue, 23 Apr 2024 21:29:07 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Looks good.
>
> It would be interesting to look on splitting intrinsic through Phi so that we can generate vector on each branch. In separate RFE.
Thanks @vnkozlov , vector Intrinsic expect to receive absolute lane and element type in order to associate concrete ideal types with generated vector IR. Splitting intrinsic by pushing it backwards across phi may lead to multiple inline expansions of an intrinsic given that multiple arguments (element type, lane count, mask etc..) may be phi nodes, drawback could be code bloating which may have other side effects, since these Phi node are generated based on profiles. I agree with you, it will interesting to study its effects in a separate RFE.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18749#issuecomment-2073874365
More information about the hotspot-compiler-dev
mailing list