[PATCH] D109504: [WIP] [Intrinsics] Introduce memcmp intrinsics.

Dmitry Makogon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 05:51:30 PDT 2021


dmakogon created this revision.
dmakogon added reviewers: mkazantsev, lebedev.ri, nikic, reames.
Herald added subscribers: dexonsmith, hiraditya.
dmakogon requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

This is currently WIP and there is no LangRef entry for the intrinsic.  
This intrinsic can be used to compare two block of memory and returns whether they are equal or not.  
Please review the patch and express your concerns about this.

This patch depends on another one which changes the memory intrinsics class hierarchy.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109504

Files:
  llvm/include/llvm/IR/IRBuilder.h
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/IR/IRBuilder.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/test/Verifier/element-wise-atomic-memory-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109504.371565.patch
Type: text/x-patch
Size: 20539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/6cc9b857/attachment.bin>


More information about the llvm-commits mailing list