[PATCH] D40228: [Target] Keep the TargetOptions feature list sorted instead of sorting during CodeGen

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 15:36:11 PST 2017


craig.topper added a comment.

Yeah don't like it either, but was surprised to find that CodeGen even had a non-const reference to TargetOptions. Would it be better to make a copy and sort the copy during CodeGen?


https://reviews.llvm.org/D40228





More information about the cfe-commits mailing list