[PATCH] D124616: [TTI][X86] Fix splat-load cost when load+broadcast cannot be combined.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 30 09:05:14 PDT 2022


dmgreen added a comment.

I feel we would usually use a OneUse check to make sure that the load and the shuffle will be combined, not blocked by other uses of the load. Do you think that should be included too? Checking the load and the use are in the same block I've not seen before, but would make sense for how ISel works. You would hope that if the load did have one use (the shuffle) then the shuffle could be hoisted up to the load so that they do end up being combined.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124616



More information about the llvm-commits mailing list