Simon Moll
Simon Moll
fadd/fmul reductions are fixed by https://github.com/cdl-saarland/rv/commit/36f94db8fd6825959e47c2d5a591f5ac54528b41 > This happens on this line: https://github.com/cdl-saarland/rv/blob/master/src/transform/redTools.cpp#L102 . Here elemTy is double and vecTy is `` and redKind is `rv::RedKind::Add`. The failure seems to...
https://github.com/cdl-saarland/rv/commit/7471660b1085c62fd951eef30be96afa31211ff9 makes sure RV leaves the loop scalar in that case (ICMP_EQ on loop exit condition but no nsw/nuw hints on iteration variable). > chpl: /home/mppf/w/llvm2/third-party/llvm/llvm/tools/rv/src/transform/remTransform.cpp:217: llvm::Value& rv::BranchCondition::synthesize(int, std::__cxx11::string, llvm::IRBuilder&,...
Fixed by https://github.com/cdl-saarland/rv/commit/16fa594d8fe0fcf49a0b997853c162f208f6647d > For Compile failure isHandleInSync() && "invalid iterator access!" > [Error matching compiler output for npb/cg/bradc/cg-dense]
The zipper test works now https://github.com/cdl-saarland/rv/commit/0725e5e22d8129e3fa984147cae80651e34ff52c .. by not vectorizing. As of this writing, RV can not handle reduction SCCs (value reductions) that have users inside the loop.
@mppf - it is possible to vectorize this (leave the phi scalar, use prefix sum to build the vector for in-loop users, reduce to scalar in the loop latch). This...