[all-commits] [llvm/llvm-project] 4506f6: OpaquePtr: Reject 'ptr*' again when parsing textua...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Jun 25 15:21:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4506f614cb6983a16d117cf77a968608e66d7a5c
      https://github.com/llvm/llvm-project/commit/4506f614cb6983a16d117cf77a968608e66d7a5c
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

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

  Log Message:
  -----------
  OpaquePtr: Reject 'ptr*' again when parsing textual IR

Bring back the testcase dropped in
1e6303e60ca5af4fbe7ca728572fd65666a98271 and get it passing by checking
explicitly for `ptr*` in LLParser. Uses `Type::isOpaquePointerTy()` from
ad4bb8280952c2cacf497e30560ee94c119b36e0.

Differential Revision: https://reviews.llvm.org/D104938




More information about the All-commits mailing list