[llvm] [IR] Require that ptrmask mask matches pointer index size (PR #69343)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 00:46:15 PDT 2023


================
@@ -1,6 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
 ; RUN: opt < %s -passes=infer-alignment -S | FileCheck %s
 
+target datalayout = "p1:64:64:64:32-p2:64:64:64:128"
----------------
nikic wrote:

I did wonder whether we should make index size > pointer size an invalid data layout...

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


More information about the llvm-commits mailing list