Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1784

Use binary bitcode format for precompiled LLVM IR

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: codegen, perf
    • Labels:

      Description

      • instead of compiling with '-S', should compile with '-c'
      • should use the extension '.bc' instead of '.ll' and update the variables accordingly
      • change 'xxd' wrapper to use unsigned char instead of char

      In a quick test, things still seem to work, and the resulting bitcode is about 25% the size (~300kb vs 1150KB). Seems like an easy win to shave a few MB off our packages and shaves ~20ms off of the IR parsing.

        Attachments

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: