[all-commits] [llvm/llvm-project] d0a643: [SLP] Reduce scope of variable using if clause [NFC]
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Aug 27 09:14:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0a6434e86880f55e225ffa2e39c77f10aea1604
https://github.com/llvm/llvm-project/commit/d0a6434e86880f55e225ffa2e39c77f10aea1604
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Reduce scope of variable using if clause [NFC]
This particular variable name is shadowed by another lower in the
function, so reducing it's scope to it's single use removes the
shadowing and makes the code much less error prone.
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