We can generate constant sized arrays whenever the array section has constant
length, even if the base expression itself is a VLA.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D39504
[OpenMP] Extend "Avoid VLAs for reduction" optimization to VLAs as base ClosedPublic Authored by Hahnfeld on Nov 1 2017, 1:16 PM.
Details Summary We can generate constant sized arrays whenever the array section has constant
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 1 2017, 1:18 PM Closed by commit rL317207: [OpenMP] Extend "Avoid VLAs for reduction" optimization to VLAs as base (authored by Hahnfeld). · Explain WhyNov 2 2017, 6:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 121297 cfe/trunk/lib/Sema/SemaOpenMP.cpp
cfe/trunk/test/OpenMP/for_reduction_codegen.cpp
|