[RISCV][NFC] Trivial cleanup
authorLuís Marques <luismarques@lowrisc.org>
Tue, 17 Dec 2019 11:42:32 +0000 (11:42 +0000)
committerLuís Marques <luismarques@lowrisc.org>
Tue, 17 Dec 2019 11:44:35 +0000 (11:44 +0000)
Fix a typo. Remove two seemingly out-of-date TODO comments.

llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/test/MC/RISCV/fixups.s

index aaddecd..1d7f870 100644 (file)
@@ -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)>;
index 1ec7048..a4aad46 100644 (file)
@@ -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: