[PATCH] D81343: [AArch64] custom lowering for i128 popcount

Shawn Landden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 13:19:33 PDT 2020


shawnl added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/popcount.ll:10
+; CHECK-NEXT:    add x8, x0, #8 // =8
+; CHECK-NEXT:    ld1 { v0.d }[1], [x8]
+; CHECK-NEXT:    cnt v0.16b, v0.16b
----------------
efriedma wrote:
> Why are we generating two loads here?  Something related to the BITCAST legalization?
Yes, it should be:

> ldr q0, [x0]




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81343





More information about the llvm-commits mailing list