2025 EuroLLVM - How to trust your peephole rewrites: automatically verifying for arbitrary width! @LLVMPROJ
2025 EuroLLVM - How to trust your peephole rewrites: automatically verifying for arbitrary width!  @LLVMPROJ
Uploaded May 2025 | Updated November 2026, 17 hours ago
2025 EuroLLVM Developers' Meeting

llvm.org/devmtg/2025-04

------

Title: How to trust your peephole rewrites: automatically verifying them for arbitrary width!

Speaker: Siddharth Bhat

------

Slides: llvm.org/devmtg/2025-04/slides/technical_talk/bhat_peephole.pdf

-----

We develop algorithms to prove peephole optimzations correct in a bitwidth-generic fashion, and apply it to hacker's delight, rewrites mined from InstCombine, and challenging problems from program deobfuscation. We explain the core ideas of the algorithm, as well as the implementation, evaluation, and proofs which we performed in the Lean proof assistant. Finally, we demo the interface to the end-user, which provides a command (bv_automata) to prove theorems about bitvector rewrites that are universally quantified over the bitwidth. We hope to use our algorithm to simplify the many thousands of lines of proof in the Lean bitvector standard library, and more broadly, hope to provide effective proof automation for bitvector predicates that quantify over bitwidth.

-----

Videos Edited by Bash Films: BashFilms.com
2025 EuroLLVM - How to trust your peephole rewrites: automatically verifying for arbitrary width!2026 EuroLLVM - Coverage directed codebase reduction for the procedural generation of LIT tests2025 AsiaLLVM - Improving LLVM Backend Development with a New TableGen Language Server2026 EuroLLVM - Whats new in LLDB on Windows2025 EuroLLVM - Advances in Function Merging and Symbolication2025 US LLVM Developers Meeting: llvm-exegesis on AArch64: What Works and What Doesnt?2025 US LLVM Developers Meeting: Scheduling Model in LLVM: Past, Present, and Future2025 US LLVM Developers Meeting: Project Widen Your Char-izons: Adding wchar support to LLVM-libc2025 EuroLLVM - Devise Loop Distribution with Scalar Expansion for Enhancing Auto-Vectorization2025 EuroLLVM - Defining and verifying MLIR operations with constraints2025 US LLVM Developers Meeting: MLIR Testing Guide - What and Why?2026 EuroLLVM - Python Bindings for IR2Vec
LLVM |

2025 EuroLLVM - How to trust your peephole rewrites: automatically verifying for arbitrary width!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER