[PATCH] D110239: [AArch64] Enable type promotion for AArch64

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 06:54:47 PDT 2021


dmgreen added a comment.

Thanks. I took a look at the signed-truncation-check cases - they are a bit of a pain due to some other AArch64 folds that change the `setcc X, 65280` into `setcc (srl X, 8), 255` fairly early on, breaking up the pattern that would be recognized.

Andre has another patch that will be dependent on this being on by default. I'll commit this now, as my benchmarks suggest this to be an improvement and the cases that are getting worse I believe should be uncommon. Hopefully at some point I will find some time to make the worse cases better again in a more general way.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110239/new/

https://reviews.llvm.org/D110239



More information about the llvm-commits mailing list