[clang] [clang][CodeGen] Emit improved memory effects and return status for AsmStmt (PR #110510)

Bruno De Fraine via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 06:45:12 PDT 2024


brunodf-snps wrote:

The intention is to enable LLVM to do more of the optimizations that GCC does around inline asm statements.

The following example demonstrates this: https://godbolt.org/z/53rzbjW7z
All of the test cases marked as "MISSED" are also optimized by LLVM with this patch, except for test2c and test2d.

https://github.com/llvm/llvm-project/pull/110510


More information about the cfe-commits mailing list