[PATCH] D96317: [TableGen][SelectionDAG] Improve efficiency of encoding negative immediates for isel's CheckInteger opcode.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 17:31:01 PST 2021


craig.topper added a comment.

In D96317#2568513 <https://reviews.llvm.org/D96317#2568513>, @Paul-C-Anagnostopoulos wrote:

> I'm only slightly more familiar with it, but it looks fine to me.
>
> I take it that C++ doesn't have a standard rotate function?

I don't think there's a standardized rotate. clang has __builtin_rotateright64. MSVC has its own rotate intrinsics. gcc has some intrinsics in ia32intrin.h. None of them are portable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96317



More information about the llvm-commits mailing list