Need to map the component as TO instead of the literal, because need to
pass a reference to a component if the pointer is overaligned.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D84887  
[OPENMP]Fix codegen for is_device_ptr component, captured by reference. ClosedPublic Authored by ABataev on Jul 29 2020, 2:06 PM. 
Details Summary Need to map the component as TO instead of the literal, because need to 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Sep 8 2020, 9:54 PM Closed by commit rG9e3842d60351: [OPENMP]Fix codegen for is_device_ptr component, captured by reference. (authored by ABataev).  ·  Explain WhySep 15 2020, 2:40 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 284815 clang/lib/CodeGen/CGOpenMPRuntime.cpp
 
 clang/test/OpenMP/target_is_device_ptr_codegen.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||