[PATCH] D143880: [LoongArch] Emit bytepick for picking from concatenation of two values

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 23:49:14 PST 2023


xen0n added a comment.

@xry111: BTW your GCC implementation of this pattern looks for *arithmetic* right shifts; do you mean logical instead? Because obviously the higher bits would be full of ones after shifting if `rj` happen to have its MSB set. The sign extension shall happen *after* the pick.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143880



More information about the llvm-commits mailing list