[PATCH] D124977: [NFC][Clang] Modify expect of fail test or XFAIL because CSKY align is different

Renato Golin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 04:42:11 PDT 2022


rengolin added inline comments.


================
Comment at: clang/test/Sema/builtin-alloca-with-align.c:32
 void test8(void) {
+#if defined(__csky__)
   __builtin_alloca_with_align(sizeof(__INT64_TYPE__), __alignof__(__INT64_TYPE__)); // expected-warning {{second argument to __builtin_alloca_with_align is supposed to be in bits}}
----------------
This test is platform agnostic, perhaps the extra error could be in a new test, exclusively for csky?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124977



More information about the cfe-commits mailing list