[all-commits] [llvm/llvm-project] 2f9dfd: [IR] Simplify scalable vector handling in ShuffleV...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Jun 10 15:12:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f9dfdfb35bdb10334b09476a47dc1d93beea96c
https://github.com/llvm/llvm-project/commit/2f9dfdfb35bdb10334b09476a47dc1d93beea96c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Simplify scalable vector handling in ShuffleVectorInst::getShuffleMask. NFC (#143596)
Combine the scalable vector UndefValue check with the earlier
ConstantAggregateZero handling for fixed and scalable vectors.
Assert that the rest of the code is only reached for fixed vectors.
Use append instead of resize since we know the size is increasing.
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