[all-commits] [llvm/llvm-project] a803cb: [AsmParser] Check forward reference type with opaq...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 11 08:16:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a803cb9e52435b8f981328d79bc322ab09416cbd
      https://github.com/llvm/llvm-project/commit/a803cb9e52435b8f981328d79bc322ab09416cbd
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/AsmParser/LLParser.cpp
    A llvm/test/Assembler/opaque-ptr-invalid-forward-ref-2.ll
    A llvm/test/Assembler/opaque-ptr-invalid-forward-ref.ll

  Log Message:
  -----------
  [AsmParser] Check forward reference type with opaque pointers

While we don't need to check the element type in this case, we
do need to make sure that the pointers have the same address space,
otherwise RAUW will assert.




More information about the All-commits mailing list