mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
TruncInstCombine.cpp - use auto * to fix llvm-qualified-auto clang-tidy warning. NFCI.
This commit is contained in:
parent
ef91dcec77
commit
b4f44537cd
@ -345,7 +345,7 @@ void TruncInstCombine::ReduceExpressionDag(Type *SclTy) {
|
||||
// 1. Update Old-TruncInst -> New-TruncInst.
|
||||
// 2. Remove Old-TruncInst (if New node is not TruncInst).
|
||||
// 3. Add New-TruncInst (if Old node was not TruncInst).
|
||||
auto Entry = find(Worklist, I);
|
||||
auto *Entry = find(Worklist, I);
|
||||
if (Entry != Worklist.end()) {
|
||||
if (auto *NewCI = dyn_cast<TruncInst>(Res))
|
||||
*Entry = NewCI;
|
||||
|
Loading…
Reference in New Issue
Block a user