[PATCH] D109620: [APInt] Add a concat method, use LLVM_UNLIKELY to help optimizer.

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 10 15:24:49 PDT 2021


lattner updated this revision to Diff 372021.
lattner added a comment.

Incorporate Craig's feedback: Optimize isAllOnes and concatSlowCase

Also change more variable names to appease clang-tidy.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109620

Files:
  llvm/include/llvm/ADT/APInt.h
  llvm/lib/Support/APInt.cpp
  llvm/unittests/ADT/APIntTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109620.372021.patch
Type: text/x-patch
Size: 7493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210910/9815fe6e/attachment.bin>


More information about the llvm-commits mailing list