[llvm] [GISEL] Add G_INSERT_SUBVECTOR and G_EXTRACT_SUBVECTOR (PR #84538)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 18 00:29:22 PDT 2024
================
@@ -0,0 +1,33 @@
+# RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
+# REQUIRES: aarch64-registered-target
----------------
amilendra wrote:
> All tests in this directory have this require. Let’s remove them together in a single follow up patch?
I will remove this one here though!
These new tests fail cleanly without expectedly crashing on builds configured for selected targets (e.g. `-DLLVM_TARGETS_TO_BUILD=ARM`) without a `LLVM_DEFAULT_TARGET_TRIPLE`.
```
bin/llc: error: unable to get target for '', see --version and --triple.
```
I think that is why tests in this directory have the `REQUIRES` along with a valid triple; either in command line (`-mtriple=aarch64`) or in the test file itself (`target triple = "aarch64--"`).
https://github.com/llvm/llvm-project/pull/84538
More information about the llvm-commits
mailing list