[llvm] [IR] Store fast-math flags in subclasses of Instruction (PR #191190)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 01:09:07 PDT 2026
================
@@ -98,7 +107,7 @@ DEFINE_TRANSPARENT_OPERAND_ACCESSORS(UnaryInstruction, Value)
// UnaryOperator Class
//===----------------------------------------------------------------------===//
-class UnaryOperator : public UnaryInstruction {
+class UnaryOperator : public UnaryInstruction, public FastMathFlagsStorage {
----------------
aengelke wrote:
FPUnaryOperator then?
https://github.com/llvm/llvm-project/pull/191190
More information about the llvm-commits
mailing list