[PATCH] D71241: [OpenMP][WIP] Use overload centric declare variants
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 11 07:07:56 PST 2019
ABataev added a comment.
Here is the example that does not work with the proposed solution but works with the existing one:
static void cpu() { asm("nop"); }
#pragma omp declare variant(cpu) match(device = {kind(cpu)})
static __attribute__((used)) void wrong_asm() {
asm ("xxx");
}
The existing solution has some problems with the delayed error messages too, but they are very easy to fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71241/new/
https://reviews.llvm.org/D71241
More information about the cfe-commits
mailing list