[all-commits] [llvm/llvm-project] 7a4e56: [RISCV] Add an early out to lowerVECTOR_SHUFFLEAsV...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Oct 18 21:35:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a4e56acac4fa398880411282f6280d61533204b
https://github.com/llvm/llvm-project/commit/7a4e56acac4fa398880411282f6280d61533204b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Add an early out to lowerVECTOR_SHUFFLEAsVSlidedown. NFC
If Mask[0] is 0, then we're never going to match a slidedown. If
we get through the for loop, then it's an identity mask which should
have already been optimized out. Otherwise it's some non-contiguous
mask that will fail out of the lop. Might as well not bother entering
the loop.
More information about the All-commits
mailing list