[PATCH] D21994: [mips][ias] Check '$rs = $rd' constraints when both registers are in AsmText.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 07:00:02 PDT 2016


dsanders marked an inline comment as done.

================
Comment at: lib/Target/Mips/AsmParser/MipsAsmParser.cpp:3720
@@ +3719,3 @@
+                   .isValidForTie(static_cast<MipsOperand &>(*Operands[2]))
+               ? Match_Success
+               : Match_RequiresSameSrcAndDst;
----------------
sdardis wrote:
> GCC is reporting: enumeral mismatch in conditional expression: 'llvm::MCTargetAsmParser::MatchResultTy' vs '{anonymous::MipsParser::MipsMatchResultTy' here.
I couldn't reproduce this one despite using the same compiler (gcc 4.9.2). I've committed without changing this bit but I'll see if any of the buildbots report it. Is that ok?


https://reviews.llvm.org/D21994





More information about the llvm-commits mailing list