[all-commits] [llvm/llvm-project] 881677: [AsmParser] Support %ty* in force-opaque-pointers ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 30 10:05:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 881677b58a1f88076fccee5f32152d981de66b74
      https://github.com/llvm/llvm-project/commit/881677b58a1f88076fccee5f32152d981de66b74
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/test/Other/force-opaque-ptrs.ll

  Log Message:
  -----------
  [AsmParser] Support %ty* in force-opaque-pointers mode

Only enforce that ptr* is illegal if the base type is a simple type,
not when it is something like %ty, where %ty may resolve to an
opaque pointer in force-opaque-pointers mode.

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




More information about the All-commits mailing list