[llvm] [VectorCombine] Use TCK_CodeSize for size-optimized functions (PR #202207)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 03:10:54 PDT 2026
================
@@ -0,0 +1,48 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s
----------------
RKSimon wrote:
```
; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mcpu=x86-64 | FileCheck %s
; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mcpu=x86-64-v2 | FileCheck %s
; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mcpu=x86-64-v3 | FileCheck %s
; RUN: opt < %s -passes=vector-combine -S -mtriple=x86_64-- -mcpu=x86-64-v4 | FileCheck %s
```
(hopefully you will need different check prefixes)
https://github.com/llvm/llvm-project/pull/202207
More information about the llvm-commits
mailing list