[llvm] [GlobalISel] Support saturated truncate (PR #150219)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 7 03:30:22 PDT 2025
================
@@ -1,6 +1,8 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=aarch64 | FileCheck %s --check-prefixes=CHECK,CHECK-CVT
-; RUN: llc < %s -mtriple=aarch64 -mattr=+fullfp16 | FileCheck %s --check-prefixes=CHECK,CHECK-FP16
+; RUN: llc < %s -mtriple=aarch64 -global-isel=0 | FileCheck %s --check-prefixes=CHECK,CHECK-SD,CHECK-CVT-SD
+; RUN: llc < %s -mtriple=aarch64 -mattr=+fullfp16 -global-isel=0 | FileCheck %s --check-prefixes=CHECK,CHECK-SD,CHECK-FP16-SD
+; RUN: llc < %s -mtriple=aarch64 -global-isel=1 | FileCheck %s --check-prefixes=CHECK,CHECK-GI,CHECK-CVT-GI
+; RUN: llc < %s -mtriple=aarch64 -mattr=+fullfp16 -global-isel=1 | FileCheck %s --check-prefixes=CHECK,CHECK-GI,CHECK-FP16-GI
----------------
jyli0116 wrote:
I think it might be good to also add these also to fptosi-sat-vector.ll and fptoui-sat-vector.ll as well, i remember them also having "CVT" and "FP16" code which can be put together
https://github.com/llvm/llvm-project/pull/150219
More information about the llvm-commits
mailing list