[all-commits] [llvm/llvm-project] a1bdb0: [VectorCombine] Change shuffleToIdentity to use Us...
David Green via All-commits
all-commits at lists.llvm.org
Mon Jun 17 07:25:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1bdb016564d3c0867e83f3bb7494bfe8128f4b6
https://github.com/llvm/llvm-project/commit/a1bdb016564d3c0867e83f3bb7494bfe8128f4b6
Author: David Green <david.green at arm.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Change shuffleToIdentity to use Use. NFC
When looking up through shuffles, a Value can be multiple different leaf types
(for example an identity from one position, a splat from another). We currently
detect this by recalculating which type of leaf it is when generating, but as
more types of leafs are added (#94954) this doesn't scale very well.
This patch switches it to use Use, not Value, to more accurately detect which
type of leaf each Use should have.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list