[clang] [clang] Ensure minimal alignment of global vars of incomplete type. (PR #72886)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 22 14:28:21 PST 2023


================
@@ -0,0 +1,32 @@
+// RUN: %clang --target=s390x-linux -S -emit-llvm -o - %s | FileCheck %s
----------------
efriedma-quic wrote:

Sorry, I missed this when reviewing.

We generally only use Driver tests when we're trying to test some aspect of the driver.  For arm-alignment.c, it isn't really trying to test the code generation itself; it's trying to test the effect of alignment-related flags.

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


More information about the cfe-commits mailing list