[llvm] [X86] Lower bf16 round-to-integer on AVX10.2 via vrndscalebf16 (PR #213276)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 02:42:45 PDT 2026


================
@@ -0,0 +1,425 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx10.2 | FileCheck %s --check-prefixes=CHECK,AVX10_2
+; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+avx512bf16,+avx512vl | FileCheck %s --check-prefixes=CHECK,AVX512BF16
----------------
tfzee wrote:

I ran lit with -update-test(I thought it should call the right one automatically but maybe I'm wrong). And now that you say it it should have folded the same lines into a single check I will run the script explicitly and update it. 

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


More information about the llvm-commits mailing list