[llvm] [NVPTX] Add folding for cvt.rn.bf16x2.f32 (PR #116109)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 13:35:56 PST 2024
================
@@ -135,3 +135,24 @@ ret i32 %val
}
declare i32 @llvm.nvvm.f2tf32.rna(float)
+
+
+define <2 x bfloat> @fold_ff2bf16x2(float %a, float %b) {
+; CHECK-LABEL: fold_ff2bf16x2
----------------
Artem-B wrote:
We may as well automate check generation in this test file, too. For vector construction, theorder of inputs is important and we're not capturing it in this file right now.
https://github.com/llvm/llvm-project/pull/116109
More information about the llvm-commits
mailing list