首页> 外文期刊>Communications of the ACM >Practical Verification of Peephole Optimizations with Alive
【24h】

Practical Verification of Peephole Optimizations with Alive

机译:活着的窥孔优化的实践验证

获取原文
获取原文并翻译 | 示例

摘要

Compilers should not miscompile. Peephole optimizations, which perform local rewriting of the input program to improve the efficiency of generated code, are a persistent source of compiler bugs. We created Alive, a domain-specific language for writing optimizations and for automatically either proving them correct or else generating counterexamples. Furthermore, Alive can be automatically translated into C++ code that is suitable for inclusion in an LLVM optimization pass. Alive is based on an attempt to balance usability and formal methods; for example, it captures-but largely hides-the detailed semantics of the various kinds of undefined behavior. Alive has found numerous bugs in the LLVM compiler and is being used by LLVM developers.
机译:编译器不应编译错误。窥孔优化是执行编译器错误的永久原因,窥孔优化对输入程序进行本地重写以提高生成代码的效率。我们创建了Alive,这是一种针对特定领域的语言,用于编写优化并自动证明其正确或生成反例。此外,Alive可以自动翻译为适合包含在LLVM优化过程中的C ++代码。活着是基于尝试在可用性和形式方法之间取得平衡的;例如,它捕获但大部分隐藏了各种未定义行为的详细语义。 Alive在LLVM编译器中发现了许多错误,并且被LLVM开发人员使用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号