[llvm] [AArch64][llvm] Gate some `tlbip` insns with either +tlbid or +d128 (PR #178913)
Jonathan Thackray via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 07:21:19 PDT 2026
================
@@ -12,737 +16,898 @@
// RUN: | llvm-mc -triple=aarch64 -mattr=+d128,+tlb-rmi -disassemble -show-encoding \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
+// Only check assembly with +tlbid for instructions that match tlbip *e{1,2}[io]s*
+// Errors (for when +tlbid is not allowed) are checked in CHECK-NOT-TLBID
+.ifndef TLBID_ONLY
----------------
jthackray wrote:
The problem is that you can't do both positive and negative testing in a single run with `+tlbid` (or any flag for that matter). Correct assembly is written to stdout, and errors are written to stderr. So for testing of correct assembly on stderr, I've got to skip tests which write errors to stderr, hence the .ifdef (or could use `split-file` instead).
https://github.com/llvm/llvm-project/pull/178913
More information about the llvm-commits
mailing list