[PATCH] D156866: [Clang][LoongArch] Use the ClangBuiltin class to automatically generate support for CBE and CFE

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 9 07:29:24 PDT 2023


MaskRay added inline comments.


================
Comment at: clang/test/CodeGen/LoongArch/intrinsic-la32-error.c:2
 // RUN: %clang_cc1 -triple loongarch32 -emit-llvm -S -verify %s -o /dev/null
+// RUN: not %clang_cc1 -triple loongarch32 -DFEATURE_CHECK -emit-llvm %s 2>&1 \
+// RUN:   | FileCheck %s
----------------
d64c363f35b98ab9750a3c3a5828d8df011a4a45 added `-o /dev/null` to fix the test when CWD is not writable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156866



More information about the cfe-commits mailing list