[all-commits] [llvm/llvm-project] 5b4000: [VectorUtils] Add llvm::scaleShuffleMaskElts wrapp...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Jun 26 02:44:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b4000dc58572d08754f0b2199c2046871ec8507
https://github.com/llvm/llvm-project/commit/5b4000dc58572d08754f0b2199c2046871ec8507
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Log Message:
-----------
[VectorUtils] Add llvm::scaleShuffleMaskElts wrapper for narrowShuffleMaskElts/widenShuffleMaskElts, NFC. (#96646)
Using the target number of vector elements, scaleShuffleMaskElts will try to use narrowShuffleMaskElts/widenShuffleMaskElts to scale the shuffle mask accordingly.
Working on #58895 I didn't want to create yet another case where we have to handle both re-scaling cases.
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