[PATCH] D35965: [X86] SET0 to use XMM registers where possible PR26018 PR32862 2/2

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 30 09:02:51 PDT 2017


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86InstrInfo.cpp:7743
+    SrcReg =
+        TRI->getMatchingSuperReg(SrcReg, X86::sub_ymm, &X86::VR512RegClass);
     MIB->getOperand(0).setReg(SrcReg);
----------------
This should not be a sub register. You're using a ZMM opcode.


https://reviews.llvm.org/D35965





More information about the llvm-commits mailing list