[AsmParser] Check that addrspace fits within 24 bits
Address spaces equal or larger than 1 << 24 don't fit and produce an assertion during debug builds, or worse in release. This causes an error to be reported during parsing instead. Differential Revision: https://reviews.llvm.org/D139528
Loading
Please sign in to comment