[PATCH] D152815: [test] Update the checking base for LE and BE

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 08:44:02 PDT 2023


dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

LGTM. I'm not sure these tests are checking anything very useful with how multiple bitcasts get combined away, but it sounds good in the context of D147678 <https://reviews.llvm.org/D147678>.



================
Comment at: llvm/test/CodeGen/AArch64/neon-bitcast.ll:2-3
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=aarch64-none-linux-gnu -mattr=+neon -verify-machineinstrs < %s | FileCheck %s --check-prefix CHECK-LE
+; RUN: llc -mtriple=aarch64_be-none-linux-gnu -mattr=+neon -verify-machineinstrs < %s | FileCheck %s --check-prefix CHECK-BE
 
----------------
Maybe use --check-prefixes=CHECK,CHECK-LE and --check-prefixes=CHECK,CHECK-BE, So the common code still reuse the same check lines.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152815/new/

https://reviews.llvm.org/D152815



More information about the llvm-commits mailing list