[Mlir-commits] [mlir] [mlir][math] Add constant folding for `math.fpowi` (PR #193761)
Matthias Springer
llvmlistbot at llvm.org
Thu Apr 23 07:36:01 PDT 2026
================
@@ -36,13 +36,14 @@ class PoisonAttr;
/// Uses `resultType` for the type of the returned attribute.
/// Optional PoisonAttr template argument allows to specify 'poison' attribute
/// which will be directly propagated to result.
-template <class AttrElementT, //
- class ElementValueT = typename AttrElementT::ValueType,
+template <class LAttrElementT, class RAttrElementT = LAttrElementT,
+ class LElementValueT = typename LAttrElementT::ValueType,
+ class RElementValueT = typename RAttrElementT::ValueType,
class PoisonAttr = ub::PoisonAttr,
- class ResultAttrElementT = AttrElementT,
+ class ResultAttrElementT = LAttrElementT,
----------------
matthias-springer wrote:
Can you summarize the changes here?
https://github.com/llvm/llvm-project/pull/193761
More information about the Mlir-commits
mailing list