HomePhabricator

[OpenMP][FIX] Use name + type checks not only name checks for calls

Authored by jdoerfert on Mon, Jul 19, 8:31 PM.

Description

[OpenMP][FIX] Use name + type checks not only name checks for calls

A call that is analyzed in an optimization needs to be verified against
the name and type of the runtime function to avoid that we look at
arguments that do not exist (anymore). This can happen if the signature
was rewritten. Since we will not set RFI.Declaration if the type doesn't
match we can use it (if it's not null) to determine if the signature is
as expected.

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

Details

Committed
jdoerfertWed, Jul 21, 8:51 PM
Differential Revision
D106341: [OpenMP][FIX] Use name + type checks not only name checks for calls
Parents
rGc7781a097878: [Attributor][NFC] Clang format
Branches
Unknown
Tags
Unknown