[all-commits] [llvm/llvm-project] f989db: [NFC] Use cast instead of dyn_cast for Src and Dst...
calebwat via All-commits
all-commits at lists.llvm.org
Thu Apr 10 07:22:13 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f989db5745b88cd72f2af7f67ff96071f5059922
https://github.com/llvm/llvm-project/commit/f989db5745b88cd72f2af7f67ff96071f5059922
Author: calebwat <107081575+calebwat at users.noreply.github.com>
Date: 2025-04-10 (Thu, 10 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
Log Message:
-----------
[NFC] Use cast instead of dyn_cast for Src and Dst vec types in VecCombine folding (#134432)
SrcVecTy and DstVecTy are used without a null check, and originate from
a dyn_cast. This patch adjusts this to use a fixed cast, since it is not
checked for null before use otherwise, but is semantically guaranteed
from previous checks.
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