Ask a Question

Prefer a chat interface with context about you and your work?

User-Directed Loop-Transformations in Clang

User-Directed Loop-Transformations in Clang

Directives for the compiler such as pragmas can help programmers to separate an algorithm's semantics from its optimization. This keeps the code understandable and easier to optimize for different platforms. Simple transformations such as loop unrolling are already implemented in most mainstream compilers. We recently submitted a proposal to add …