diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-29 00:41:28 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-29 00:41:28 +0800 |
| commit | 1481dd5b62a8a914e593206d72e1aff99ced2af4 (patch) | |
| tree | ccb0141bce26375befe5eda5c23d83a99865e007 /backend/lib/Target | |
| parent | 6b07676fa9177bbf971afaf898dd9997e0664b95 (diff) | |
| download | rcc-project-1481dd5b62a8a914e593206d72e1aff99ced2af4.tar.gz rcc-project-1481dd5b62a8a914e593206d72e1aff99ced2af4.tar.xz | |
[RISCV] Merge identical selector cases
Diffstat (limited to 'backend/lib/Target')
| -rw-r--r-- | backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp b/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp index 8361de2..4504fa7 100644 --- a/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp +++ b/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp @@ -586,9 +586,7 @@ public: case GenericOpcode::G_CONSTANT_FOLD_BARRIER: case GenericOpcode::G_PTRTOINT: case GenericOpcode::G_INTTOPTR: - return Instruction.setOpcode(opcode(GenericOpcode::COPY)); case GenericOpcode::G_ANYEXT: - return Instruction.setOpcode(opcode(GenericOpcode::COPY)); case GenericOpcode::G_TRUNC: return Instruction.setOpcode(opcode(GenericOpcode::COPY)); case GenericOpcode::G_FCMP: |
