diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-16 01:59:50 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-16 01:59:50 +0800 |
| commit | 3c998e2fc02c6ca7869c586cbf2e1cbb7ea3c7bf (patch) | |
| tree | e0fb78534283e4cd74499e6779fb8a11cbc43261 /backend/include/rcc/CodeGen | |
| parent | 0146ac880f8acac482be73a23aac99ad37452c20 (diff) | |
| download | rcc-project-3c998e2fc02c6ca7869c586cbf2e1cbb7ea3c7bf.tar.gz rcc-project-3c998e2fc02c6ca7869c586cbf2e1cbb7ea3c7bf.tar.xz | |
[GlobalISel] Propagate no-fp-except flags
Diffstat (limited to 'backend/include/rcc/CodeGen')
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h index 4c69606..4bea4e7 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h +++ b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h @@ -3,6 +3,7 @@ #ifndef RCC_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H #define RCC_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H +#include "rcc/CodeGen/MachineIRTypes.h" #include "rcc/Support/Error.h" namespace rcc { @@ -28,6 +29,15 @@ public: constrainSelectedInstruction(MachineInstr &, MachineFunction &, const TargetDescription &) const { return {}; } + + [[nodiscard]] Expected<void> propagateSelectionFlags(MachineInstr &Output, + MachineInstrFlags InputFlags, + bool InputMayRaiseFPException, + const TargetDescription &Target) const; + + [[nodiscard]] Expected<void> propagateSelectionFlags(MachineInstr &Output, + const MachineInstr &Input, + const TargetDescription &Target) const; }; } // namespace rcc |
