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

Use binary bitcode format for precompiled LLVM IR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • n/a
    • codegen
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: