[all-commits] [llvm/llvm-project] f25185: [CIR] Fix unary op folding (#132269)
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Thu Mar 20 16:54:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f25185b57985e34c03517008d5af311689895819
https://github.com/llvm/llvm-project/commit/f25185b57985e34c03517008d5af311689895819
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths:
M clang/include/clang/CIR/MissingFeatures.h
M clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
M clang/test/CIR/Transforms/canonicalize.cir
Log Message:
-----------
[CIR] Fix unary op folding (#132269)
Unary ops had previously been omitted from the list of ops handled in
the CIRCanonicalizePass. Although the incubator code doesn't use them
directly, the mlir folding code does.
This change enables folding of unary ops by adding them to the list.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list