[llvm] [ARM][ISel] Fix crash of ISD::FMINNUM/FMAXNUM (PR #65849)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 22:03:28 PDT 2023


================
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc -mtriple=armv7 -mattr=+neon %s -o - | FileCheck %s --check-prefix=ARMV7
+; RUN: llc -mtriple=armv7 -mattr=+fp-armv8 %s -o - | FileCheck %s --check-prefix=ARMV7-FP
 ; RUN: llc -mtriple=armv8.2-a -mattr=+fp-armv8 %s -o - | FileCheck %s --check-prefix=ARMV8
----------------
vfdff wrote:

I find they has a bit different, 
 the -mtriple=armv8.2a -mattr=+fp-armv8 choose **mov	pc, lr** ,
 while  -mtriple=armv7 -mattr=+fp-armv8 use **bx	lr**, so they can't use same checking strings

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


More information about the llvm-commits mailing list