On Sat, 1 Apr 2023 00:44:55 GMT, Xin Liu <x...@openjdk.org> wrote: > Do you consider to perform the transformation in MacroExpand? Your prior > changes have already removed NSR marks, ME/SR will consider 'ptn'.
Yes, I actually did. However, that makes the changes much more complicated. I patched this method to reuse the scalar replacement method in MacroExpand so that we don't have code duplication. I hope that's sufficient as a first implementation. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/12897#discussion_r1157914272