[PATCH] D32880: [PPC] Change the register constraint of the first source operand of instruction mtvsrdd to g8rc_nox0

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 15:14:53 PDT 2017


Carrot added inline comments.


================
Comment at: lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp:207
 
+static const unsigned G80Regs[] = {
+  PPC::ZERO8, PPC::X1, PPC::X2, PPC::X3,
----------------
nemanjai wrote:
> How come this wasn't needed before and is needed now?
I don't know.
After making the instruction pattern change, I got a compile time error, it complained function DecodeG8RC_NOX0RegisterClass not found. So I made the disassembler change.


https://reviews.llvm.org/D32880





More information about the llvm-commits mailing list