[llvm] r354726 - [MIPS] Fix a incorrect test. (NFC)
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 23 07:56:32 PST 2019
Author: sdardis
Date: Sat Feb 23 07:56:32 2019
New Revision: 354726
URL: http://llvm.org/viewvc/llvm-project?rev=354726&view=rev
Log:
[MIPS] Fix a incorrect test. (NFC)
This test is incorrect as it should be using the microMIPSR6 instruction to
return, not the microMIPS version.
Modified:
llvm/trunk/test/CodeGen/Mips/sll-micromips-r6-encoding.mir
Modified: llvm/trunk/test/CodeGen/Mips/sll-micromips-r6-encoding.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/sll-micromips-r6-encoding.mir?rev=354726&r1=354725&r2=354726&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/sll-micromips-r6-encoding.mir (original)
+++ llvm/trunk/test/CodeGen/Mips/sll-micromips-r6-encoding.mir Sat Feb 23 07:56:32 2019
@@ -6,7 +6,7 @@
# CHECK-LABEL: a:
# CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
-# CHECK: jrc $ra # encoding: [0x45,0xbf]
+# CHECK: jrc16 $ra # encoding: [0x47,0xe3]
---
name: a
alignment: 2
@@ -41,6 +41,6 @@ constants:
body: |
bb.0.entry:
$zero = SLL_MMR6 killed $zero, 0
- JRC16_MM undef $ra, implicit $v0
+ JRC16_MMR6 undef $ra, implicit $v0
...
More information about the llvm-commits
mailing list