[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:46 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
+
+define <8 x half> @test_UINT_TO_FP_no_inf8(<8 x i32> %a) {
----------------
RKSimon wrote:

a better naming convention would be something like test_uitofp_v8i32_v8f16 / test_strict_uitofp_v8i32_v8f16 etc.

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


More information about the llvm-commits mailing list