[PATCH] D111249: [X86] Don't use popcnt for parity if only bits 7:0 of the input can be non-zero.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 6 10:51:27 PDT 2021
spatel added inline comments.
================
Comment at: llvm/test/CodeGen/X86/parity.ll:2-5
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-popcnt | FileCheck %s --check-prefix=X86-NOPOPCNT
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=-popcnt | FileCheck %s --check-prefix=X64-NOPOPCNT
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+popcnt | FileCheck %s --check-prefix=X86-POPCNT
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+popcnt | FileCheck %s --check-prefix=X64-POPCNT
----------------
Add shared prefixes for any "X86" and "X64" to reduce the duplicated check lines?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111249/new/
https://reviews.llvm.org/D111249
More information about the llvm-commits
mailing list