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

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 18 07:44:33 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'm not sure a index size > pointer bitwidth makes much sense, but testing that this work sounds good to me.

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


More information about the llvm-commits mailing list