[clang] [CIR] Intitial upstreaming of LibOpt pass (PR #172487)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 16 16:58:40 PST 2025
================
@@ -93,4 +93,23 @@ def LoweringPrepare : Pass<"cir-lowering-prepare"> {
let dependentDialects = ["cir::CIRDialect"];
}
+def LibOpt : Pass<"cir-lib-opt"> {
+ let summary = "Optimize C/C++ library calls";
+ let description = [{
+ By using higher level information from `cir-idiom-recognize`, this pass
----------------
andykaylor wrote:
```suggestion
By using information from `cir-idiom-recognize`, this pass
```
Also, this should describe how `cir-idiom-recognize` conveys the information.
https://github.com/llvm/llvm-project/pull/172487
More information about the cfe-commits
mailing list