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

[IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture

XMLWordPrintable

    • b18

        We should extend the IR framework to enable/disable certain IR tests based on the architecture the test is run on. This could be achieved by adding an additional attribute to @IR rules.

        We should at support at least AND and OR attributes and cover the following checks (can be mapped to Platform.java):
        - 32/64 bit
        - OS type

        We could implement the attribute either with an enum or use Strings with input verification, similarly to what we do with applyIfCPUFeature* (checked against `verifiedCPUFeatures` list).

              epeter Emanuel Peter
              chagedorn Christian Hagedorn
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: