Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 442 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 442 Bytes

Code-Branch-Prediction

C++ has "likely" and "unlikely" attributes attached to if-else branches. They help the compiler optimize toward the most commonly taken branch. We leverage an LLM to predict the labeling of these "likely" or "unlikely" labels automatically.

Getting Started

Follow along with notebook in an environment with proper GPU (ex. Google Colab's A100)

For runtime evaluation, follow ReadMe in "runtime-analysis" folder