[VE] Support lowering to NND instruction
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Tue, 9 Jun 2020 08:17:20 +0000 (10:17 +0200)
committerSimon Moll <simon.moll@emea.nec.com>
Tue, 9 Jun 2020 08:18:14 +0000 (10:18 +0200)
commit0d989cb6ab542ca696525819f59f82bf9e4e461f
treed05d26283aa53b91d6468b017d562d897988d805
parent0645c4d34f1c755760aee4d15e2665be1ed7c2a4
[VE] Support lowering to NND instruction

Summary:
Support NND instruction of Aurora VE.  Add hasAndNot function also
for optimization.

Differential Revision: https://reviews.llvm.org/D81383
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/CodeGen/VE/cttz.ll
llvm/test/CodeGen/VE/nnd.ll [new file with mode: 0644]