================ @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -triple thumbv7-windows-msvc %s -fsyntax-only -verify -fms-extensions + +// The compiler barriers are builtins on 32-bit Arm, as on x86 and AArch64. + +// expected-no-diagnostics + +#pragma intrinsic(_ReadBarrier) +#pragma intrinsic(_ReadWriteBarrier) ---------------- efriedma-quic wrote:
I'm not sure we really need this test... we currently don't test every intrinsic with pragma intrinsic, because it doesn't really do anything https://github.com/llvm/llvm-project/pull/240572 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
