[llvm] [GlobalISel] Bail out early for big-endian (PR #103310)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 05:58:49 PDT 2024


================
@@ -0,0 +1,18 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple aarch64-unknown-linux-musl -O0 < %s | FileCheck %s --check-prefix=CHECK-LE
+; RUN: llc -mtriple aarch64_be-unknown-linux-musl -O0 < %s | FileCheck %s --check-prefix=CHECK-BE
+
+; Make sure we fall-back to SDAG for BE targets.
----------------
davemgreen wrote:

Sorry - I missed your remark earlier, my bad. It was crashing earlier so was fairly obvious that it was "fixed". Let me add a check for the remark too. 

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


More information about the llvm-commits mailing list