[PATCH] D37843: [X86] Don't emit COPY_TO_REG to ABCD registers before EXTRACT_SUBREG of sub_8bit_hi
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 22:35:16 PDT 2017
craig.topper created this revision.
I'm pretty sure that InstrEmitter::EmitSubregNode will take care of this itself by calling ConstrainForSubReg which in turn calls TRI->getSubClassWithSubReg.
I think Jakob Stoklund Olesen alluded to this in his commit message for r141207 which added the code to EmitSubregNode.
I want to do the same to the sub_8bit patterns too, but I hit a global isel failure.
https://reviews.llvm.org/D37843
Files:
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86InstrCompiler.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37843.115166.patch
Type: text/x-patch
Size: 7541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170914/f0529517/attachment.bin>
More information about the llvm-commits
mailing list