[PATCH] D37055: [ARM] Reverse PostRASched subtarget feature logic

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 00:43:01 PDT 2017


samparker added a comment.

Hi Matthias,

The reason for the inverse logic is because the decision isn't just based upon the CPU, but also the current mode. For the old CPUs, the post-RA scheduler should be used when compiling a function in arm mode, but not when in thumb mode because they only support Thumb1. I wanted to predicate on the Thumb2 capability, but then I would of still needed something else for cyclone and swift.

Thanks for the review,
sam


https://reviews.llvm.org/D37055





More information about the llvm-commits mailing list