HomePhabricator

[OpenMP] Encode offload target triples into comdat key for offload…

Authored by sdmitriev on Aug 3 2018, 1:19 PM.

Description

[OpenMP] Encode offload target triples into comdat key for offload initialization code

Encoding offload target triples onto comdat group key for offload initialization
code guarantees that it will be executed once per each unique combination of
offload targets.

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

llvm-svn: 338916