<div dir="ltr">Hi all,<div><br></div><div>LLVM has long had a restriction that pointer data types in the LLVM backend must be powers of two.  While this works for many architectures, in some cases it is two restrictive.  Because this is such a long-standing assumption, I'd like to get wider review on a patch here: <a href="https://reviews.llvm.org/D114141">https://reviews.llvm.org/D114141</a> that starts to relax this constraint.  The patch allows DataLayouts to be parsed correctly with pointer types that are arbitrary values.  Note that this does not change the alignment requirements for pointers, only the types that are permissible and used when InstructionSelection lowers pointers.  We have so far used this effectively on out of tree targets and feel it is reasonably general to live upstream.<div><br></div><div>Steve Neuendorffer <br></div></div></div>