llvm-project
1d89844b - Reapply "[OpenACC] Sema changes for +*&|^ reduction combiner recipes … (#163205)

Commit
22 days ago
Reapply "[OpenACC] Sema changes for +*&|^ reduction combiner recipes … (#163205) …(… (#162920) This reverts commit 8d9aecce064776a9a890f3c898165f99e8eaa13e. That was reverted because of an ASAN failure that I believe this fixes. The std::uninitialized_copy of an array of a type that contained a llvm::vector using operator= instead of the copy constructor, so it made ASan think it was overwriting existing data? However, it also probably would have tried to do some sort of deallocation if had the 'right' amount of wrong data. So this version switches over to using placement-new instead.
Author
Parents
Loading