[llvm] [X86] Remove TuningPOPCNTFalseDeps from AlderLake (PR #154004)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 06:31:20 PDT 2025


================
@@ -1,6 +1,7 @@
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=haswell | FileCheck %s --check-prefix=HSW
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=skylake | FileCheck %s --check-prefix=SKL
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=skx | FileCheck %s --check-prefix=SKL
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=alderlake | FileCheck %s --check-prefix=ADL
----------------
boomanaiden154 wrote:

Not sure if there are specific features that you have in mind for `update_llc_test_checks.py` that I'm unfamiliar with, but I don't think it makes a ton of sense here.

We end up having to assert the codegen for the entire function rather than just the bit counting instructions/xors that we're interested in. The new ADL lines will also still be unique as well.

Happy to follow up postcommit if there is a simpler way to do this.

https://github.com/llvm/llvm-project/pull/154004


More information about the llvm-commits mailing list