[all-commits] [llvm/llvm-project] 796435: [LoopUnroll] Remove redundant debug instructions a...
chenlin via All-commits
all-commits at lists.llvm.org
Mon May 13 09:42:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 79643565a890d29560782fea23877ae61ea5b987
https://github.com/llvm/llvm-project/commit/79643565a890d29560782fea23877ae61ea5b987
Author: chenlin <chenlin138 at huawei.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
A llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
Log Message:
-----------
[LoopUnroll] Remove redundant debug instructions after blocks have been merged (#91246)
Remove redundant debug instructions after blocks have been merged into
the predecessor, It can reduce some compile time in some cases.
This change only fixes the situation of loop unrolling, and other
situations are not considered. "RemoveRedundantDbgInstrs" seems to be
very time-consuming. Thus, we just add here after the "Dest" has been
merged into the "Fold", this may be a more targeted solution!!!
fixes: https://github.com/llvm/llvm-project/issues/89073
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