RFR: 8375498: [VectorAPI] Dump primary vector IR details with -XX:+TraceNewVectors [v2]

Jatin Bhateja jbhateja at openjdk.org
Wed Jan 21 10:05:18 UTC 2026


> Patch to add support for dumping primary vector IR created by various VectorAPI inline expanders.
> Currently auto-vectorization prints the newly create vector IR with -XX:+TraceNewVectors, similar message is
> now emitted for VectorAPI.
>  
> 
> TraceNewVectors [AutoVectorization]: 1397 AddVI === _ 1395 1396 [[ ]] #vectorx<I,4>
> 
> TraceNewVectors [VectorAPI]: 1591 AddVI === _ 1545 1569 [[ ]] #vectory<I,8> !jvms: IntVector::lanewiseTemplate @ bci:154 (line 798) Int256Vector::lanewise @ bci:3 (line 278) Int256Vector::lanewise @ bci:3 (line 43) IntVector::add @ bci:5 (line 1380) AddTestI::workload @ bci:34 (line 18)
> 
> 
> Thanks,
> Jatin

Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:

  Adding more tracing calls

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/29265/files
  - new: https://git.openjdk.org/jdk/pull/29265/files/d38204bd..5927b475

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29265&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29265&range=00-01

  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/29265.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29265/head:pull/29265

PR: https://git.openjdk.org/jdk/pull/29265


More information about the hotspot-compiler-dev mailing list