[PATCH] D127579: [clang][WIP] add option to keep types of ptr args for non-kernel functions in metadata

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 10:05:09 PDT 2022


nikic added a comment.

@Anastasia Thanks, that does sound like a legitimate reason to include the information. I want to double check though, does linking the modules actually fail if the functions have signatures that differ only by pointer types? At least for normal LLVM IR this would work fine, and would just result in the insertion of a bitcast during linking (and then typically the bitcast would get shifted from the called function to the call arguments later).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127579



More information about the cfe-commits mailing list