[PATCH] D65059: [ARM] Better OR's for MVE compares
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 21 10:36:33 PDT 2019
dmgreen created this revision.
dmgreen added reviewers: t.p.northover, SjoerdMeijer, samparker, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.
dmgreen added a parent revision: D65058: [ARM] Better AND's for MVE compares.
This adds a DeMorgan combine for OR's of compares to turn them into AND's, helping prevent them from going into and out of gpr registers. It also fills in the VCLE and VCLT nodes that MVE can select, allowing it to invert more compares.
https://reviews.llvm.org/D65059
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/lib/Target/ARM/ARMInstrInfo.td
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-pred-or.ll
llvm/test/CodeGen/Thumb2/mve-vcmpf.ll
llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65059.211004.patch
Type: text/x-patch
Size: 27693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190721/eb3ed610/attachment.bin>
More information about the llvm-commits
mailing list