summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@mips.com>2018-06-19 15:25:01 +0000
committerSimon Dardis <simon.dardis@mips.com>2018-06-19 15:25:01 +0000
commit9e80c340f774928b02144da0313358b7e6faec6d (patch)
treed124fbd1b15b5ee73aef3f7a7eddf4a7a7434450 /llvm/test
parent60f028ff035a787078d3a336f981e539bee8f2e3 (diff)
downloadbcm5719-llvm-9e80c340f774928b02144da0313358b7e6faec6d.tar.gz
bcm5719-llvm-9e80c340f774928b02144da0313358b7e6faec6d.zip
[mips] Fix the predicates of some aliases
Previously, some aliases were marked as not being available for microMIPS32R6, but this was overridden at the top level. Reviewers: atanasyan, abeserminji, smaksimovic Differential Revision: https://reviews.llvm.org/D48321 llvm-svn: 335053
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Mips/micromips32r6/valid.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/micromips32r6/valid.s b/llvm/test/MC/Mips/micromips32r6/valid.s
index 3a7582f615e..b48e3559c9b 100644
--- a/llvm/test/MC/Mips/micromips32r6/valid.s
+++ b/llvm/test/MC/Mips/micromips32r6/valid.s
@@ -390,7 +390,9 @@
and $3, 5 # CHECK: andi $3, $3, 5 # encoding: [0xd0,0x63,0x00,0x05]
and $3, $4, 5 # CHECK: andi $3, $4, 5 # encoding: [0xd0,0x64,0x00,0x05]
not $3, $4 # CHECK: not $3, $4 # encoding: [0x00,0x04,0x1a,0xd0]
+ # CHECK-NEXT: # <MCInst #{{.*}} NOR_MMR6
not $3 # CHECK: not $3, $3 # encoding: [0x00,0x03,0x1a,0xd0]
+ # CHECK-NEXT: # <MCInst #{{.*}} NOR_MMR6
or $3, 5 # CHECK: ori $3, $3, 5 # encoding: [0x50,0x63,0x00,0x05]
or $3, $4, 5 # CHECK: ori $3, $4, 5 # encoding: [0x50,0x64,0x00,0x05]
xor $3, 5 # CHECK: xori $3, $3, 5 # encoding: [0x70,0x63,0x00,0x05]
OpenPOWER on IntegriCloud