[PATCH] D139528: [AsmParser] Check that addrspace fits within 24 bits

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 07:15:07 PST 2022


nikic added inline comments.


================
Comment at: llvm/test/Assembler/invalid-addrspace.ll:5
+define void @f() {
+; CHECK: invalid address space, must be a 24bit integer
+  %y = alloca i32, addrspace(16777216)
----------------
Does not match the updated diagnostic.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139528/new/

https://reviews.llvm.org/D139528



More information about the llvm-commits mailing list