5 ms·
FWIW clang has a feature called opt-viewer [1] [2] that isn't quite a style guide but instead gives explicit indication when and why it couldn't optimize partic
by wyldfire 8y ago
FWIW clang has a feature called opt-viewer [1] [2] that isn't quite a style guide but instead gives explicit indication when and why it couldn't optimize particular code.
[1] https://llvm.org/devmtg/2016-11/Slides/Nemet-Compiler-assistedPerformanceAnalysis.pdf https://llvm.org/devmtg/2016-11/Slides/Nemet-Compiler-assist...
[2] https://github.com/androm3da/optviewer-demo https://github.com/androm3da/optviewer-demo
- IshKebab 8y agoUseful, thanks! God knows why they chose YAML though...