[all-commits] [llvm/llvm-project] 17e9ea: [analyzer][NFC] Add LLVM_UNLIKELY to assumeDualImpl

Gabor Marton via All-commits all-commits at lists.llvm.org
Tue Jun 7 03:49:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17e9ea61389411f3142b1a34989d3a1a42a5f1fb
      https://github.com/llvm/llvm-project/commit/17e9ea61389411f3142b1a34989d3a1a42a5f1fb
  Author: Gabor Marton <gabor.marton at ericsson.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp

  Log Message:
  -----------
  [analyzer][NFC] Add LLVM_UNLIKELY to assumeDualImpl

Aligned with the measures we had in D124674, this condition seems to be
unlikely.

Nevertheless, I've made some new measurments with stats just for this,
and data confirms this is indeed unlikely.

Differential Revision: https://reviews.llvm.org/D127190




More information about the All-commits mailing list