[PATCH] [mips] Merge disassemblers into a single implementation.

Daniel Sanders daniel.sanders at imgtec.com
Tue Feb 10 06:30:46 PST 2015


================
Comment at: test/MC/Disassembler/Mips/mips32r2/valid-mips32r2-le.txt:2
@@ -2,2 +1,3 @@
+# RUN: llvm-mc --disassemble %s -triple=mips64el-unknown-linux -mcpu=mips32r2 | FileCheck %s
 0x05 0x73 0x20 0x46 # CHECK: abs.d $f12, $f14
 0x85 0x39 0x00 0x46 # CHECK: abs.s $f6, $f7
----------------
vmedic wrote:
> Why using mips64 triple here?
It's to ensure that getting the 'wrong' triple doesn't change behaviour. I suppose we could have a second RUN line to cover both triples.

http://reviews.llvm.org/D7498

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list