[llvm] [X86] Combine `uitofp <v x i32> to <v x half>` (PR #121809)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 04:44:48 PST 2025


================
@@ -0,0 +1,133 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx,+f16c | FileCheck %s -check-prefix=AVX
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s -check-prefix=AVX512
----------------
RKSimon wrote:

it might be worth adding avx2 test coverage as well:
```
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx,+f16c | FileCheck %s -check-prefixes=AVX,AVX1
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+f16c | FileCheck %s -check-prefixes=AVX,AVX2
; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s -check-prefixes=AVX512
```

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


More information about the llvm-commits mailing list