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

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 11:17:41 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"
----------------
arichardson wrote:

I'd be happy with that change - I believe I had that as part of https://reviews.llvm.org/D135158 but probably best done in a separate PR.

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


More information about the llvm-commits mailing list