[PATCH] D87218: [builtins] Inline __paritysi2 into __paritydi2 and inline __paritydi2 into __parityti2.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 7 16:19:56 PDT 2020


MaskRay added a comment.

I think this is correct, but does their performance matter? llvm/IR/RuntimeLibcalls.def do not define them (they cannot be produced by llvm). Targets either emit popcount & 1 or detect the idiom and emit an optimized parity (x86 after PR46954)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87218



More information about the cfe-commits mailing list