[clang] [Clang] Fix incorrect passing of _BitInt args (PR #90741)

via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 07:56:33 PDT 2024


================
@@ -0,0 +1,14 @@
+// REQUIRES: arm-registered-target
+// RUN: %clang_cc1 -triple aarch64-none-elf \
+// RUN:   -O2 \
+// RUN:   -emit-llvm -fexperimental-max-bitint-width=1024 -o - %s | FileCheck %s
----------------
Lukacma wrote:

Thank you for pointing me to this ! I didn't expect there would a general tests for all ABIs ! I have adjusted the test so it correctly checks for sizes >128. Probably better fix would be to correctly set __BITINT_MAXWIDTH__  in AArch64 target, but that is story for separate patch.

https://github.com/llvm/llvm-project/pull/90741


More information about the cfe-commits mailing list