[PATCH] [mips] Tolerate the use of the %z inline asm operand modifier with non-immediates.
Toma Tabacu
toma.tabacu at imgtec.com
Tue Nov 4 07:34:40 PST 2014
================
Comment at: test/CodeGen/Mips/inlineasm-operand-code.ll:89
@@ +88,3 @@
+;CHECK_LITTLE_32: #APP
+;CHECK_LITTLE_32: mtc0 ${{[0-9]+}}, ${{[0-9]+}}
+;CHECK_LITTLE_32: #NO_APP
----------------
dsanders wrote:
> Shouldn't this be restricted to $0?
No, because in this case we no longer have the "J" constraint (which makes zero-values into immediates), so the value is always put into a register.
http://reviews.llvm.org/D6023
More information about the llvm-commits
mailing list