[PATCH] D107611: [ARC] Add codegen for llvm.ctlz intrinsic for the ARC backend

Thomas Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 11:33:02 PDT 2021


thomasjohns updated this revision to Diff 364855.
thomasjohns added a comment.

Thanks for the feedback, Mark.

This change prefers `MI` over `SI` naming, updates instruction writing, and makes the test case more precise (the generated code was improved and no longer had an unneeded `mov %r1, %r0`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107611/new/

https://reviews.llvm.org/D107611

Files:
  clang/lib/Basic/Targets/ARC.h
  llvm/lib/Target/ARC/ARCExpandPseudos.cpp
  llvm/lib/Target/ARC/ARCISelLowering.cpp
  llvm/lib/Target/ARC/ARCInstrInfo.td
  llvm/test/CodeGen/ARC/ctlz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107611.364855.patch
Type: text/x-patch
Size: 5457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210806/f843bf43/attachment.bin>


More information about the llvm-commits mailing list