[all-commits] [llvm/llvm-project] 4597bf: BasicAAResult::constantOffsetHeuristic - pass APIn...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Jul 9 06:09:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4597bfddf11b7d9dcf373525d0bc889bcc212b13
https://github.com/llvm/llvm-project/commit/4597bfddf11b7d9dcf373525d0bc889bcc212b13
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M llvm/include/llvm/Analysis/BasicAliasAnalysis.h
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
Log Message:
-----------
BasicAAResult::constantOffsetHeuristic - pass APInt arg as const reference. NFCI.
Avoids unnecessary APInt copies and silences clang tidy warning.
Commit: f54402b63a4f5b0b4b15e0f82ce8ff8501b206e6
https://github.com/llvm/llvm-project/commit/f54402b63a4f5b0b4b15e0f82ce8ff8501b206e6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx-vperm2x128.ll
M llvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
M llvm/test/CodeGen/X86/known-signbits-vector.ll
M llvm/test/CodeGen/X86/packss.ll
M llvm/test/CodeGen/X86/var-permute-256.ll
M llvm/test/CodeGen/X86/vector-pack-256.ll
M llvm/test/CodeGen/X86/x86-interleaved-access.ll
Log Message:
-----------
[X86][AVX] Attempt to fold extract_subvector(shuffle(X)) -> extract_subvector(X)
If we're extracting a subvector from a shuffle that is shuffling entire subvectors we can peek through and extract the subvector from the shuffle source instead.
This helps remove some cases where concat_vectors(extract_subvector(),extract_subvector()) legalizations has resulted in BLEND/VPERM2F128 shuffles of the subvectors.
Compare: https://github.com/llvm/llvm-project/compare/97106f9d80f6...f54402b63a4f
More information about the All-commits
mailing list