Uploaded November 2025 | Updated November 2026, 4 days ago
2025 US LLVM Developers' Meeting
llvm.org/devmtg/2025-10
------
Title: Translation Validation for LLVM's RISC-V Backend
Speaker: Mitch Briles
------
Slides: llvm.org/devmtg/2025-10/slides/student_talks/briles.pdf
-----
With algorithms such as instruction selection, instruction folding, and register allocation, LLVM's backends have the job of lowering IR to assembly or object code while being mindful of the semantics of each language. Starting with AArch64, we're leveraging Alive2 to validate these target-dependent optimizations and translations. After using our tool to find 44 miscompiles in the AArch64 backend, the natural progression is to branch out to other architectures. Our next focus is a much smaller ISA: RISC-V. The new tool, RISCV-TV, is early in development, but has already detected 2 miscompiles! Bugs can be found in existing tests, but these tools are most effective when paired with a fuzzer. We anticipate more results by the time of the meeting.
-----
Videos Edited by Bash Films: BashFilms.com
2025 US LLVM Developers' Meeting
llvm.org/devmtg/2025-10
------
Title: Translation Validation for LLVM's RISC-V Backend
Speaker: Mitch Briles
------
Slides: llvm.org/devmtg/2025-10/slides/student_talks/briles.pdf
-----
With algorithms such as instruction selection, instruction folding, and register allocation, LLVM's backends have the job of lowering IR to assembly or object code while being mindful of the semantics of each language. Starting with AArch64, we're leveraging Alive2 to validate these target-dependent optimizations and translations. After using our tool to find 44 miscompiles in the AArch64 backend, the natural progression is to branch out to other architectures. Our next focus is a much smaller ISA: RISC-V. The new tool, RISCV-TV, is early in development, but has already detected 2 miscompiles! Bugs can be found in existing tests, but these tools are most effective when paired with a fuzzer. We anticipate more results by the time of the meeting.
-----
Videos Edited by Bash Films: BashFilms.com
