delena accepted this revision. delena added a comment. This revision is now accepted and ready to land. I did not mean to complicate solution. Please commit, I'll try to check with debugger what happens with const vector. Repository: rL LLVM http://reviews.llvm.org/D14050