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

Use binary bitcode format for precompiled LLVM IR

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: n/a
    • Component/s: codegen
    • Labels:
      None

      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 probably speed up IR parsing during codegen.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: