[PATCH] D30108: Refactor code computing switch instruction cost. NFC.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 12:20:54 PST 2017


chandlerc added a comment.

There's nothing wrong with this code, but this is a refactoring that I think only makes sense in the context where you need it. As-is, it seems like unnecessarily more layers with no real benefit. Let's look at this in the end-state patch?


https://reviews.llvm.org/D30108





More information about the llvm-commits mailing list