[PATCH] [mips] Support 9-bit offsets for the 'R' inline assembly memory constraint.

Daniel Sanders daniel.sanders at imgtec.com
Thu Mar 19 08:34:01 PDT 2015


Hi vkalintiris,

The 'R' constraint is actually supposed to be much more complicated than
this and is defined in terms of whether it will cause macro expansion in
the assembler. 'R' is getting less useful due to architecture changes and
ought to be replaced by other constraints. We therefore implement 9-bit
offsets which will work for all subtargets and all instructions.

Depends on D8435.

http://reviews.llvm.org/D8440

Files:
  lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  test/CodeGen/Mips/inlineasm_constraint.ll
  test/CodeGen/Mips/inlineasm_constraint_R.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8440.22259.patch
Type: text/x-patch
Size: 3863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150319/1a483817/attachment.bin>


More information about the llvm-commits mailing list