diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-14 20:35:54 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-14 20:35:54 +0800 |
| commit | 97e5fbaa55b4672db36123c2425d05a4738452ab (patch) | |
| tree | c2750bd49922edc8c76bc831ad7bfc8b0bf42bb8 /backend/lib/CodeGen/TargetDescription.cpp | |
| parent | 8be4d04455f70892a94d1e0798e266c948b4750a (diff) | |
| download | rcc-project-97e5fbaa55b4672db36123c2425d05a4738452ab.tar.gz rcc-project-97e5fbaa55b4672db36123c2425d05a4738452ab.tar.xz | |
[GlobalISel] Match LLVM legalization value tracking
Diffstat (limited to 'backend/lib/CodeGen/TargetDescription.cpp')
| -rw-r--r-- | backend/lib/CodeGen/TargetDescription.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backend/lib/CodeGen/TargetDescription.cpp b/backend/lib/CodeGen/TargetDescription.cpp index b9569be..2a64a02 100644 --- a/backend/lib/CodeGen/TargetDescription.cpp +++ b/backend/lib/CodeGen/TargetDescription.cpp @@ -51,7 +51,8 @@ namespace { Expected<TargetDescription> TargetDescription::create(InstructionSet Instructions, TargetRegisterInfo Registers, - TargetMIRTextInfoDesc MIRTextDescription) { + TargetMIRTextInfoDesc MIRTextDescription, + TargetBooleanContentInfo BooleanInfo) { auto MIRText = TargetMIRTextInfo::create(std::move(MIRTextDescription), Registers); if (!MIRText) return std::unexpected(MIRText.error()); @@ -122,7 +123,8 @@ Expected<TargetDescription> TargetDescription::create(InstructionSet Instruction } } - return TargetDescription(std::move(Instructions), std::move(Registers), std::move(*MIRText)); + return TargetDescription(std::move(Instructions), std::move(Registers), std::move(*MIRText), + BooleanInfo); } Expected<void> TargetDescription::validateVirtualRegister(Register Reg, |
