2 ms·
https://polly.llvm.org https://polly.llvm.org is a research project that could possibly maybe do this.
by astrange 5y ago
https://polly.llvm.org https://polly.llvm.org is a research project that could possibly maybe do this.
- kanaffa12345 5y agoa polyhedral compiler wouldn't find this either - polyhedral compilation is for finding optimal schedules for loop nests i.e., the order in which independent (wrt dataflow) iterations run. as far as i know you, a transpose can't be expressed in the polyhedral model.
- astrange 5y agoHmm I thought GCC's polyhedral optimizations had a loop transposition, but it turned out I was remembering an old "-floop-transpose" flag that seems to be only in old Apple GCC to get a SPEC win…