[all-commits] [llvm/llvm-project] 66a54a: [WebAssembly] Support opaque pointers in AddMissin...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Sep 4 02:32:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66a54af96766ab635bc1a9fdaf2d568e3c46eb11
      https://github.com/llvm/llvm-project/commit/66a54af96766ab635bc1a9fdaf2d568e3c46eb11
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-09-04 (Sat, 04 Sep 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
    M llvm/test/CodeGen/WebAssembly/add-prototypes-conflict.ll
    A llvm/test/CodeGen/WebAssembly/add-prototypes-opaque-ptrs.ll

  Log Message:
  -----------
  [WebAssembly] Support opaque pointers in AddMissingPrototypes

The change here is basically the same as in D108880: Rather than
looking at bitcasts, look at calls and their function type. We
still need to look through bitcasts to find those calls.

The change in llvm/test/CodeGen/WebAssembly/add-prototypes-conflict.ll
is due to different visitation order. add-prototypes-opaque-ptrs.ll
is a copy of add-prototypes.ll with -force-opaque-pointers.

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




More information about the All-commits mailing list