[all-commits] [llvm/llvm-project] 8e7553: [DebugInfo][InstrRef][NFC] Bypass a frequently-noo...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Tue Feb 1 11:41:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8e75536e510460bedcfdafb38d58cdfb7bb66111
https://github.com/llvm/llvm-project/commit/8e75536e510460bedcfdafb38d58cdfb7bb66111
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2022-02-01 (Tue, 01 Feb 2022)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Log Message:
-----------
[DebugInfo][InstrRef][NFC] Bypass a frequently-noop loop
Bypass this loop if it would do nothing -- if there are no register masks
to be examined, there's no point looking at each location to see if the
location has been def'd. Awkwardly, this was responsible for almost an
entire half a percent of performance improvement on CTMark.
Differential Revision: https://reviews.llvm.org/D118613
More information about the All-commits
mailing list