[PATCH] D155798: [X86] Support -march=graniterapids-d and update -march=graniterapids
Freddy, Ye via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 20 05:06:12 PDT 2023
FreddyYe added inline comments.
================
Comment at: clang/test/Preprocessor/predefined-arch-macros.c:1922
+// RUN: --target=x86_64 \
+// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_GNRD_M64
// CHECK_GNR_M64: #define __AES__ 1
----------------
RKSimon wrote:
> Maybe create a common CHECK_GNR_BASE prefix that you can check graniterapids/graniterapids-d against - currently graniterapids-d is barely testing anything
Oh, it should be `-check-prefixes=CHECK_GNR_M64,CHECK_GNRD_M64`
I did this before, like: https://github.com/llvm/llvm-project/blob/a2160dd34d56ea5440cbb805657bfee0e2228073/clang/test/Preprocessor/predefined-arch-macros.c#L370
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155798/new/
https://reviews.llvm.org/D155798
More information about the cfe-commits
mailing list