[PATCH] D87209: [SelectionDAG][X86][ARM][AArch64] Add ISD opcode for __builtin_parity. Expand it to shifts and xors.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 06:07:12 PDT 2020


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/parity.ll:4
+
+define i4 @parity_4(i4 %x) {
+; CHECK-LABEL: parity_4:
----------------
Test non-pow2 type?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87209



More information about the llvm-commits mailing list