[PATCH] D31483: [DAGCombiner] convert and-of-seteq to bitwise logic+seteq (PR32401)
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 16:34:48 PDT 2017
spatel updated this revision to Diff 93970.
spatel added a comment.
Patch updated:
1. Add a target hook to selectively enable this transform.
2. Enable the hook for scalars on x86, PPC, and ARM.
3. Add the 'or' sibling fold (I did several NFC clean-up commits last week, so this could be added simply here).
https://reviews.llvm.org/D31483
Files:
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/X86/X86ISelLowering.h
test/CodeGen/ARM/setcc-logic.ll
test/CodeGen/PowerPC/setcc-logic.ll
test/CodeGen/X86/avx512-cmp.ll
test/CodeGen/X86/setcc-logic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31483.93970.patch
Type: text/x-patch
Size: 8204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/a359aaaa/attachment.bin>
More information about the llvm-commits
mailing list