Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12314

Revisit pre-compiled IR at O1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.3.0
    • Backend
    • None
    • ghx-label-12

    Description

      From https://github.com/apache/impala/blob/4.2.0/be/CMakeLists.txt#L298-L300

      We enable basic optimizations (-O1) to reduce the IR size and speed up runtime JIT. Empirically, the runtime JIT produces slightly better code when starting with IR that was optimized at -O1. Higher optimization levels tend to bloat the code.

      This evaluation was done with LLVM 3.3. We're now on LLVM 5, and this evaluation may no longer hold. Revisit whether this makes sense or whether another option (O2, Os, O3) may make more sense.

      Attachments

        1. image-2023-07-27-13-55-10-103.png
          156 kB
          Michael Smith

        Issue Links

          Activity

            People

              MikaelSmith Michael Smith
              MikaelSmith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: