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

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 23:04:22 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
----------------
davemgreen wrote:

I think with -mtriple=armv8.2a (as opposed to armv8.2-a), they should both use bx lr?
https://godbolt.org/z/TY4don9PP

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


More information about the llvm-commits mailing list