[clang] [CIR] Upstream cir-canonicalize pass (PR #131891)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 18 14:02:52 PDT 2025
================
@@ -11,6 +11,24 @@
include "mlir/Pass/PassBase.td"
+def CIRCanonicalize : Pass<"cir-canonicalize"> {
+ let summary = "Performs CIR canonicalization";
+ let description = [{
+ Perform canonicalizations on CIR and removes some redundant operations.
+
+ This pass performs basic cleanup and canonicalization transformations that
+ hopefully do not affect CIR-to-source fidelity and high-level code analysis
----------------
erichkeane wrote:
instead of 'hopefully' something like 'are not intended to affect', or 'should not affect'.
https://github.com/llvm/llvm-project/pull/131891
More information about the cfe-commits
mailing list