diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 02:46:21 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 02:46:21 +0800 |
| commit | 2c39d48321658c43d49ada4d2b06be5e0de5d158 (patch) | |
| tree | a783fdcfefba574b602e72a92d163bc930a53e69 /backend/include/rcc/CodeGen/GlobalISel | |
| parent | 7377eb4f34bdd54317ba9c4b419f324ecd441e2c (diff) | |
| download | rcc-project-2c39d48321658c43d49ada4d2b06be5e0de5d158.tar.gz rcc-project-2c39d48321658c43d49ada4d2b06be5e0de5d158.tar.xz | |
[GlobalISel] Lower three-way integer comparisons
Diffstat (limited to 'backend/include/rcc/CodeGen/GlobalISel')
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h b/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h index ca59fa1..517c9ac 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h +++ b/backend/include/rcc/CodeGen/GlobalISel/LegalizerHelper.h @@ -32,6 +32,7 @@ public: [[nodiscard]] Expected<void> lowerAbsDiffToSelect(MachineInstr &Instruction); [[nodiscard]] Expected<void> lowerAbsDiffToMinMax(MachineInstr &Instruction); [[nodiscard]] Expected<void> lowerMinMax(MachineInstr &Instruction); + [[nodiscard]] Expected<void> lowerThreewayCompare(MachineInstr &Instruction); [[nodiscard]] Expected<void> lowerVAArg(MachineInstr &Instruction); [[nodiscard]] Expected<void> widenScalar(MachineInstr &Instruction, std::size_t TypeIndex, LowLevelType WideType); |
