[PATCH] D29017: refactor / improve getScalarizationOverhead()

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 23:21:14 PST 2017


jonpa closed this revision.
jonpa added a comment.

Pushed as r293155. I updated patch per review, and I also removed a line-break in a comment near end of getArithmeticInstrCost().

@Simon: Extracted immediates have not yet been handled, but it should be simple to do in getOperandsScalarizationOverhead(). I don't have a test case for this, so I would appreciate your help if you think it is needed.


https://reviews.llvm.org/D29017





More information about the llvm-commits mailing list