[PATCH] D133203: [TypePromotionPass] Don't treat phi's as ToPromote

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 5 01:05:07 PDT 2022


samparker added a comment.

> The atomic loops are only expected to be executed once most of the time.

A load compare loop is going to occur more often that just atomic operations though, such as a basic search loop. I was surprised that this didn't come up in the TypePromotion tests, so I have added some <https://github.com/llvm/llvm-project/commit/e893345589c69efd8ec2b6048b6e70b3dee808be>.


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

https://reviews.llvm.org/D133203



More information about the llvm-commits mailing list