[PATCH] D52285: [SelectionDAG] replace duplicated peekThroughBitcast helper functions; NFCI
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 20 06:45:48 PDT 2018
spatel updated this revision to Diff 166283.
spatel added a comment.
Patch updated:
Use separate functions to differentiate the one-use constraint. This is effectively transferring the x86 code with the same names, so it's a smaller patch.
Implementation detail: the x86 code was checking for 'V.getNode()', but I'm not sure how that could be false, so I left that out of the new code.
https://reviews.llvm.org/D52285
Files:
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52285.166283.patch
Type: text/x-patch
Size: 9945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180920/db394aa0/attachment.bin>
More information about the llvm-commits
mailing list