aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-02-12 10:12:20 +0000
committerGitHub <noreply@github.com>2025-02-12 10:12:20 +0000
commitf73ed3d4346c37292fbee99361a904e371d1d9eb (patch)
tree4349cdc995600b3226a7aa12e0b57a02172d276e /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
parent32faf438785ec5d7b3d2d605ae30ee6ab337a163 (diff)
downloadllvm-f73ed3d4346c37292fbee99361a904e371d1d9eb.zip
llvm-f73ed3d4346c37292fbee99361a904e371d1d9eb.tar.gz
llvm-f73ed3d4346c37292fbee99361a904e371d1d9eb.tar.bz2
[X86] lowerShuffleAsBroadcast - use isShuffleEquivalent to search for a hidden broadcast pattern (#126517)
lowerShuffleAsBroadcast only matches a known-splat shuffle mask, but we can use the isShuffleEquivalent/IsElementEquivalent helpers to attempt to find a hidden broadcast-able shuffle pattern. This requires an extension to IsElementEquivalent to peek through bitcasts to match against wider shuffles - these typically appear during shuffle lowering where we've widened a preceding shuffle, often to a vector concatenation etc. Amazingly I hit this while yak shaving #126033 .......
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions