From e332a09619359471969abfac7ff08b36d29dbf31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Marques?= Date: Tue, 17 Dec 2019 11:42:32 +0000 Subject: [PATCH] [RISCV][NFC] Trivial cleanup Fix a typo. Remove two seemingly out-of-date TODO comments. --- llvm/lib/Target/RISCV/RISCVInstrInfo.td | 3 --- llvm/test/MC/RISCV/fixups.s | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td index aaddecdc7d23..1d7f87072181 100644 --- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td @@ -636,9 +636,6 @@ def : InstAlias<"jr $rs, $offset", (JALR X0, GPR:$rs, simm12:$offset def : InstAlias<"jalr $rs, $offset", (JALR X1, GPR:$rs, simm12:$offset), 0>; def : InstAlias<"jalr $rd, $rs, $offset", (JALR GPR:$rd, GPR:$rs, simm12:$offset), 0>; -// TODO call -// TODO tail - def : InstAlias<"fence", (FENCE 0xF, 0xF)>; // 0xF == iorw def : InstAlias<"rdinstret $rd", (CSRRS GPR:$rd, INSTRET.Encoding, X0)>; diff --git a/llvm/test/MC/RISCV/fixups.s b/llvm/test/MC/RISCV/fixups.s index 1ec704857343..a4aad46bdb33 100644 --- a/llvm/test/MC/RISCV/fixups.s +++ b/llvm/test/MC/RISCV/fixups.s @@ -60,7 +60,7 @@ addi zero, zero, 0 # CHECK-REL-NOT: R_RISCV -# Testing the function call offset could resovled by assembler +# Testing the function call offset could resolved by assembler # when the function and the callsite within the same compile unit # and the linker relaxation is disabled. func: