[all-commits] [llvm/llvm-project] f494b3: [GVN] Don't count debug instructions when limit th...
weiguozhi via All-commits
all-commits at lists.llvm.org
Tue Jan 31 13:04:39 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f494b366ff8a076a72a8e1b7a6f401686d6eb0e6
https://github.com/llvm/llvm-project/commit/f494b366ff8a076a72a8e1b7a6f401686d6eb0e6
Author: Guozhi Wei <carrot at google.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/GVN.cpp
A llvm/test/Transforms/GVN/PRE/pre-load-dbg.ll
Log Message:
-----------
[GVN] Don't count debug instructions when limit the number of checked instructions
Don't count debug instructions when limit the number of checked instructions.
Otherwise the debug information may impact optimization like the test case
shows.
Differential Revision: https://reviews.llvm.org/D142787
More information about the All-commits
mailing list