[PATCH] D132538: [AArch64] Filter out invalid code model in frontend.

Jessica Paquette via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 24 11:34:55 PDT 2022


paquette added inline comments.


================
Comment at: clang/test/Driver/mcmodel.c:9
 // RUN: not %clang -c -mcmodel=lager %s 2>&1 | FileCheck --check-prefix=INVALID %s
+// RUN: %clang -target aarch64 -### -c -mcmodel=medium %s 2>&1 | FileCheck --check-prefix=AARCH64-MEDIUM %s
+// RUN: %clang -target aarch64 -### -c -mcmodel=kernel %s 2>&1 | FileCheck --check-prefix=AARCH64-KERNEL %s
----------------
Do you need `not` in front of this? Can't remember.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132538/new/

https://reviews.llvm.org/D132538



More information about the cfe-commits mailing list