[llvm] [AArch64] Use awk on aarch64-apple-tuning-features for AIX(NFC) (PR #200656)
Tomer Shafir via llvm-commits
llvm-commits at lists.llvm.org
Sun May 31 03:58:16 PDT 2026
https://github.com/tomershafir created https://github.com/llvm/llvm-project/pull/200656
See https://github.com/llvm/llvm-project/pull/197777
>From f71056c54f6ef1038e657382ef5dc233885c944c Mon Sep 17 00:00:00 2001
From: tomershafir <tomer.shafir8 at gmail.com>
Date: Sun, 31 May 2026 13:49:53 +0300
Subject: [PATCH] [AArch64] Use awk on aarch64-apple-tuning-features.td to fix
AIX failure(NFC)
See https://github.com/llvm/llvm-project/pull/197777
---
llvm/test/TableGen/aarch64-apple-tuning-features.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/TableGen/aarch64-apple-tuning-features.td b/llvm/test/TableGen/aarch64-apple-tuning-features.td
index 43e007c515de6..94501fd6043fe 100644
--- a/llvm/test/TableGen/aarch64-apple-tuning-features.td
+++ b/llvm/test/TableGen/aarch64-apple-tuning-features.td
@@ -1,5 +1,5 @@
// RUN: llvm-tblgen -print-records %p/../../lib/Target/AArch64/AArch64.td -I %p/../../lib/Target/AArch64 -I %p/../../include \
-// RUN: | sed -e "s/, /, \n/g" -e "s/\[/\[\n/g" \
+// RUN: | awk '{gsub(/\[/,"[\n"); gsub(/, /,",\n"); print}' \
// RUN: | FileCheck %s --implicit-check-not="def TuneApple"
// Verify the resolved tuning feature lists for Apple CPUs.
More information about the llvm-commits
mailing list