Skip to content

Trying to use WhiteFox on LLVM optimizations #9

@zitongzhoueric

Description

@zitongzhoueric

Hi I'm trying to use WhiteFox on LLVM optimizations.

Please correct me if I'm wrong, I don't seem to see the code that executes LLVM and refines prompts using its feedback? Can you provide some instructions on how to run Whitefox with feedback on LLVM?
My understanding is that python starcoder_gen.py --prompt-dir=Prompts/llvm/req2test --output-dir=starcoder-generated-llvm --num=... is one-shot and doesn't use any feedback?

Also there are only prompts for 21 LLVM optimizations in WhiteFox/Prompts/llvm/req2test. Is it possible to include the prompts for other Transform passes in https://llvm.org/docs/Passes.html that you have tested?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions