[llvm] [X86] bittest-big-integer.ll - add missing AVX2/AVX512 checks (PR #165856)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 05:50:19 PDT 2025


https://github.com/RKSimon created https://github.com/llvm/llvm-project/pull/165856

These were removed in #165742 but separate tests from #165758 still need them

>From a7a5ec75209ca0c6f683fec53904d511803bcd01 Mon Sep 17 00:00:00 2001
From: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: Fri, 31 Oct 2025 12:48:30 +0000
Subject: [PATCH] [X86] bittest-big-integer.ll - add missing AVX2/AVX512 checks

These were removed in #165742 but separate tests from #165758 still need them
---
 llvm/test/CodeGen/X86/bittest-big-integer.ll | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/test/CodeGen/X86/bittest-big-integer.ll b/llvm/test/CodeGen/X86/bittest-big-integer.ll
index 5776c6c82bcc3..dffe9005094ab 100644
--- a/llvm/test/CodeGen/X86/bittest-big-integer.ll
+++ b/llvm/test/CodeGen/X86/bittest-big-integer.ll
@@ -2,8 +2,8 @@
 ; RUN: llc < %s -mtriple=i686--                   | FileCheck %s --check-prefixes=X86
 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64    | FileCheck %s --check-prefixes=X64,SSE
 ; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64-v2 | FileCheck %s --check-prefixes=X64,SSE
-; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64-v3 | FileCheck %s --check-prefixes=X64,AVX
-; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64-v4 | FileCheck %s --check-prefixes=X64,AVX
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64-v3 | FileCheck %s --check-prefixes=X64,AVX,AVX2
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=x86-64-v4 | FileCheck %s --check-prefixes=X64,AVX,AVX512
 
 ; bt/btc/btr/bts patterns + 'init' to set single bit value in large integers
 



More information about the llvm-commits mailing list