wsmoses / Tapir-LLVM

Tapir extension to LLVM for optimizing Parallel Programs
Other
133 stars 24 forks source link

Parallel for loop vectorization legality tweak #26

Closed isundaylee closed 7 years ago

isundaylee commented 7 years ago

Turns out LLVM LoopVectorizer already has logic dealing with loops that have been annotated as parallel (for OpenMP loops, for example?). This commit simply makes LLVM recognize Tapir/Rhino loops as parallel loops.