diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 04:37:18 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 04:37:18 +0800 |
| commit | bb7990a58f56f8fb9bae4d5eb01fbbe3c36fca77 (patch) | |
| tree | 5666b572b19341d45395afb613ccbfe385b000ab /backend/include/rcc/CodeGen | |
| parent | 6f67b5ba63e0993d6aa9002c8c59fcf13148b869 (diff) | |
| download | rcc-project-bb7990a58f56f8fb9bae4d5eb01fbbe3c36fca77.tar.gz rcc-project-bb7990a58f56f8fb9bae4d5eb01fbbe3c36fca77.tar.xz | |
[GlobalISel] Legalize scalar PHI operations
Diffstat (limited to 'backend/include/rcc/CodeGen')
| -rw-r--r-- | backend/include/rcc/CodeGen/MachineIRBuilder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/MachineIRBuilder.h b/backend/include/rcc/CodeGen/MachineIRBuilder.h index 20c4ad0..cd4dbe4 100644 --- a/backend/include/rcc/CodeGen/MachineIRBuilder.h +++ b/backend/include/rcc/CodeGen/MachineIRBuilder.h @@ -3,6 +3,7 @@ #ifndef RCC_CODEGEN_MACHINEIRBUILDER_H #define RCC_CODEGEN_MACHINEIRBUILDER_H +#include "rcc/CodeGen/GenericOpcodes.h" #include "rcc/CodeGen/MachineIRTypes.h" #include "rcc/CodeGen/MachineOperand.h" #include "rcc/CodeGen/Register.h" @@ -241,6 +242,7 @@ public: Register Source) const; [[nodiscard]] Expected<MachineInstr *> buildSExt(MachineIRBuilderResult Destination, Register Source) const; + [[nodiscard]] GenericOpcode getBoolExtOp(bool IsVector, bool IsFloatingPoint) const noexcept; [[nodiscard]] Expected<MachineInstr *> buildUndef(MachineIRBuilderResult Destination) const; [[nodiscard]] Expected<MachineInstr *> buildAnyExtOrTrunc(MachineIRBuilderResult Destination, Register Source) const; |
