[PATCH] D148123: [AArch64][CostModel] Make sext/zext free if folded into a masked load

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 03:17:41 PDT 2023


dmgreen added a comment.

That would make sense for normal loads, but masked loads will not split like that (unless they can extend the mask). https://godbolt.org/z/x9T8vP6Kx. It may be simpler to be more precise about the cost if it returned it directly.


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

https://reviews.llvm.org/D148123



More information about the llvm-commits mailing list