[all-commits] [llvm/llvm-project] 1604a1: [SLP][NFC]Avoid extra useless ConstantVector creat...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Apr 27 10:54:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1604a100f1ced3f1b49d64bd1c6a80ee609b9c8c
https://github.com/llvm/llvm-project/commit/1604a100f1ced3f1b49d64bd1c6a80ee609b9c8c
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Avoid extra useless ConstantVector creation, use PointerUnion
instead, NFC.
Better to use PointerUnion<Value *, const TreeEntry *> instead of extra
attempts of creating null vector values, where possible.
More information about the All-commits
mailing list