Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8366531

Add vector size checks for IRNode.VECTOR_REINTERPRET

XMLWordPrintable

      Expand IRNode.VECTOR_REINTERPRET to assert vector sizes, as suggested by [~epeter] in https://github.com/openjdk/jdk/pull/26457#discussion_r2313298675

      Ideal output for VectorReinterpret seems to follow a similar pattern to LoadVector...etc with regards to the vector size. So seems like a similar solution could be implemented:

      ```
       1306 VectorReinterpret === _ 1307 [[ 1286 ]] #vectory<I,8> !orig=1179,979,[846],[738],[646],[145] !jvms: TestCompatibleUseDefTypeSize::test7 @ bci:13 (line 427)
      ```

            galder Galder ZamarreƱo
            galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: