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

Add a general-purpose CallPureNode base class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 25
    • hotspot

      Suggested by Quan Anh Mai:
      What do you think about using a general-purpose CallPureNode that represents a call not reading or writing external modifiable states? Apart from ModF and ModD, there are several other nodes that may benefit from this such as the trigonometric functions, svml calls, etc. A CallPureNode does not have input and output control or memory, which makes it more susceptible to GVN and deadcode elimination, as well as allowing it to be more freely scheduled.

      https://github.com/openjdk/jdk/pull/22786#issuecomment-2585016091

            Unassigned Unassigned
            tweidmann Theo Weidmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: