Please sign in to comment.
[ARM] Better OR'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. Differential Revision: https://reviews.llvm.org/D65059 llvm-svn: 366920
- Loading branch information...
Showing with 222 additions and 172 deletions.
- +57 −0 llvm/lib/Target/ARM/ARMISelLowering.cpp
- +2 −0 llvm/lib/Target/ARM/ARMISelLowering.h
- +2 −0 llvm/lib/Target/ARM/ARMInstrInfo.td
- +12 −8 llvm/lib/Target/ARM/ARMInstrMVE.td
- +85 −68 llvm/test/CodeGen/Thumb2/mve-pred-or.ll
- +32 −48 llvm/test/CodeGen/Thumb2/mve-vcmpf.ll
- +32 −48 llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll
Oops, something went wrong.