[clang] [clang][Basic] Optimize getDiagnosticSeverity() (PR #141950)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 23:25:58 PST 2026


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/141950 at github.com>


tbaederr wrote:

@vsapsai Can you try with https://github.com/llvm/llvm-project/commit/7a28c5b7bf7e1a5c32b5222502339756a1ce7a42 applied? It doesn't seem to have a negative performance impact: https://llvm-compile-time-tracker.com/compare.php?from=4fd9c1fccb0308d63bf6c18c03fd1409de7423e8&to=7a28c5b7bf7e1a5c32b5222502339756a1ce7a42&stat=instructions:u

https://github.com/llvm/llvm-project/pull/141950


More information about the cfe-commits mailing list