[llvm] 384c17f - [AArch64] Use awk on aarch64-apple-tuning-features for AIX(NFC) (#200656)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 07:23:58 PDT 2026
Author: Tomer Shafir
Date: 2026-06-02T17:23:51+03:00
New Revision: 384c17f8259d1bad41afb40ada89a763aaa3615f
URL: https://github.com/llvm/llvm-project/commit/384c17f8259d1bad41afb40ada89a763aaa3615f
DIFF: https://github.com/llvm/llvm-project/commit/384c17f8259d1bad41afb40ada89a763aaa3615f.diff
LOG: [AArch64] Use awk on aarch64-apple-tuning-features for AIX(NFC) (#200656)
See https://github.com/llvm/llvm-project/pull/197777
Added:
Modified:
llvm/test/TableGen/aarch64-apple-tuning-features.td
Removed:
################################################################################
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