[llvm] r330294 - [RISCV] Add test changes missed from rL330293

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 13:36:12 PDT 2018


Author: asb
Date: Wed Apr 18 13:36:12 2018
New Revision: 330294

URL: http://llvm.org/viewvc/llvm-project?rev=330294&view=rev
Log:
[RISCV] Add test changes missed from rL330293

Modified:
    llvm/trunk/test/CodeGen/RISCV/compress.ll

Modified: llvm/trunk/test/CodeGen/RISCV/compress.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/compress.ll?rev=330294&r1=330293&r2=330294&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/compress.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/compress.ll Wed Apr 18 13:36:12 2018
@@ -150,20 +150,16 @@ define i32 @neg_i32() nounwind {
   ret i32 -559038737
 }
 
-; TODO: c.mv is unnecessary.
 define i32 @pos_i32_hi20_only() nounwind {
 ; RV32IC-LABEL: pos_i32_hi20_only:
 ; RV32IC:       c.lui a0, 16
-; RV32IC:       c.mv a0, a0
 ; RV32IC-NEXT:  c.jr ra
   ret i32 65536
 }
 
-; TODO: c.mv is unnecessary.
 define i32 @neg_i32_hi20_only() nounwind {
 ; RV32IC-LABEL: neg_i32_hi20_only:
 ; RV32IC:       c.lui a0, 1048560
-; RV32IC:       c.mv a0, a0
 ; RV32IC-NEXT:  c.jr ra
   ret i32 -65536
 }




More information about the llvm-commits mailing list