[PATCH] D37088: [x86] NFC: More refactoring to pave the way to extending this ISel logic to handle other x86 pseudos that carry flags and thus can't be matched by our ISel patterns with fused memory accesses.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 20:53:08 PDT 2017
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM with the one comment.
================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:1945
+/// If there is no X86 opcode, returns none.
+static Optional<unsigned> getFusedLdStWithFlagsOpcode(EVT &LdVT, unsigned Opc) {
+ auto SelectSize = [&](unsigned Opc64, unsigned Opc32, unsigned Opc16,
----------------
Pass EVT by value.
https://reviews.llvm.org/D37088
More information about the llvm-commits
mailing list