[llvm] [WIP] Extend data layout to add non zero null value for address space. (PR #83109)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 00:48:33 PDT 2024


================
@@ -0,0 +1,5 @@
+; RUN: not llvm-as %s 2>&1 | FileCheck %s
+
+; CHECK: error: not a number, or does not fit in an unsigned int
+
+target datalayout = "z:neg"
----------------
Pierre-vh wrote:

Those should be unit tests in `DataLayoutTest`, IMO.

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


More information about the llvm-commits mailing list