[PATCH] [mips] Tolerate the use of the %z inline asm operand modifier with non-immediates.

Daniel Sanders daniel.sanders at imgtec.com
Mon Nov 3 05:32:58 PST 2014


================
Comment at: test/CodeGen/Mips/inlineasm-operand-code.ll:71
@@ +70,3 @@
+;CHECK_LITTLE_32:    #APP
+;CHECK_LITTLE_32:    mtc0 ${{[0-9]+}}, ${{[0-9]+}}
+;CHECK_LITTLE_32:    #NO_APP
----------------
$0 shouldn't be permitted

================
Comment at: test/CodeGen/Mips/inlineasm-operand-code.ll:83
@@ +82,3 @@
+;CHECK_LITTLE_32:    #APP
+;CHECK_LITTLE_32:    mtc0 ${{[0-9]+}}, ${{[0-9]+}}
+;CHECK_LITTLE_32:    #NO_APP
----------------
$0 shouldn't be permitted

================
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
----------------
Shouldn't this be restricted to $0?

http://reviews.llvm.org/D6023






More information about the llvm-commits mailing list