2023 LLVM Dev Mtg - In-IR optimizer utility testing
LLVM LLVM
14.1K subscribers
134 views
0

 Published On Jan 10, 2024

2023 LLVM Developers' Meeting
https://llvm.org/devmtg/2023-10
------
In-IR optimizer utility testing
Speaker: Nate Chandler
------
Slides: https://llvm.org/devmtg/2023-10/slide...
-----
Testing utility functions used by optimization passes can be a challenge. On the one hand, we'd like to be able to write tests for them the same way we do for the passes themselves: write an IR test case, run the utility on it, and FileCheck the result. On the other hand, we'd like to be able to test them like any other function: pass arguments to the utility and verify its effects. How can we do both?
-----
Videos Edited by Bash Films: http://www.BashFilms.com

show more

Share/Embed