[PATCH] D46492: [DAGCombiner] Masked merge: don't touch "not" xor's.
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 5 03:54:04 PDT 2018
lebedev.ri created this revision.
lebedev.ri added reviewers: spatel, craig.topper.
Herald added a reviewer: javed.absar.
Split off form https://reviews.llvm.org/D46031.
It seems we don't want to transform the pattern if the `xor`'s are actually `not`'s.
In vector case, this breaks `andnpd` / `vandnps` patterns.
That being said, we may want to re-visit this `not` handling, maybe in https://reviews.llvm.org/D46073.
Repository:
rL LLVM
https://reviews.llvm.org/D46492
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll
test/CodeGen/X86/unfold-masked-merge-scalar-variablemask.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46492.145360.patch
Type: text/x-patch
Size: 4444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180505/bbf94288/attachment.bin>
More information about the llvm-commits
mailing list