]> granicus.if.org Git - llvm/commit
[mips] Support the "o" inline asm constraint
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 17 Jul 2019 08:11:15 +0000 (08:11 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 17 Jul 2019 08:11:15 +0000 (08:11 +0000)
commitac1d978620ff958cdbedbe9c1128b682c2056436
treebd39e9977379ffa054f6ff81f66239b2e419dc8f
parent1a57475dd7b21cf9c3f913f15d32ff42bccc9ec0
[mips] Support the "o" inline asm constraint

As well as other LLVM targets we do not handle "offsettable"
memory addresses in any special way. In other words, the "o" constraint
is an exact equivalent of the "m" one. But some existing code require
the "o" constraint support.

This fixes PR42589.

Differential Revision: https://reviews.llvm.org/D64792

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366299 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
test/CodeGen/Mips/inlineasm_constraint_o.ll [new file with mode: 0644]