diff options
Diffstat (limited to 'backend/lib/Target/RISCV/GISel/RISCVCallLowering.h')
| -rw-r--r-- | backend/lib/Target/RISCV/GISel/RISCVCallLowering.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/backend/lib/Target/RISCV/GISel/RISCVCallLowering.h b/backend/lib/Target/RISCV/GISel/RISCVCallLowering.h index dad0875..bc03fe8 100644 --- a/backend/lib/Target/RISCV/GISel/RISCVCallLowering.h +++ b/backend/lib/Target/RISCV/GISel/RISCVCallLowering.h @@ -3,6 +3,7 @@ #ifndef RCC_LIB_TARGET_RISCV_GISEL_RISCVCALLLOWERING_H #define RCC_LIB_TARGET_RISCV_GISEL_RISCVCALLLOWERING_H +#include "../RISCVCallingConv.h" #include "rcc/CodeGen/TargetCallLowering.h" #include "rcc/Target/RISCV/RISCVInstructions.h" @@ -31,11 +32,6 @@ enum class CallValueTransform : std::uint8_t { Bitcast, }; -[[nodiscard]] constexpr CallingConventionID -callingConventionID(CallingConvention Convention) noexcept { - return CallingConventionID::fromValue(static_cast<std::uint32_t>(Convention)); -} - class RISCVCallLowering final : public TargetCallLowering { public: [[nodiscard]] Expected<CallLoweringPlan> |
