[PATCH] D70889: [AArch64][SVE] Implement integer compare intrinsics

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 03:09:03 PST 2019


c-rhodes created this revision.
c-rhodes added reviewers: sdesmalen, efriedma, rengolin, rovka, dancgr, huntergr.
Herald added subscribers: psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a project: LLVM.

Adds intrinsics for the following:

- cmphs, cmphi
- cmpge, cmpgt
- cmpeq, cmpne
- cmplt, cmple
- cmplo, cmpls

Includes a minor change to `TLI.getMemValueType` that fixes a crash due to the
scalable flag being dropped.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70889

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares-with-imm.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-int-compares.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70889.231657.patch
Type: text/x-patch
Size: 98656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191202/b96d077f/attachment-0001.bin>


More information about the llvm-commits mailing list