[PATCH] D20214: [mips][ias] EF_MIPS_MICROMIPS should iff microMIPS code was emitted.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 09:36:52 PDT 2016


dsanders created this revision.
dsanders added reviewers: sdardis, vkalintiris.
dsanders added a subscriber: llvm-commits.
Herald added subscribers: sdardis, dsanders.

This fixes PR27682. Additionally, '.set micromips' by itself is not sufficient
to raise the EF_MIPS_MICROMIPS flag. It is also necessary to emit a microMIPS
instruction. This has also been fixed.

http://reviews.llvm.org/D20214

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  lib/Target/Mips/MipsTargetStreamer.h
  test/MC/Mips/elf_eflags_micromips.s
  test/MC/Mips/elf_eflags_micromips2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20214.57060.patch
Type: text/x-patch
Size: 4691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160512/359c7921/attachment.bin>


More information about the llvm-commits mailing list