[all-commits] [llvm/llvm-project] be8732: [clang][Codegen] EmitBranchOnBoolExpr(): emit prof...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sun Mar 21 13:26:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be8732128029530a0b8671af3a47ce6085039fa2
      https://github.com/llvm/llvm-project/commit/be8732128029530a0b8671af3a47ce6085039fa2
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-03-21 (Sun, 21 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp

  Log Message:
  -----------
  [clang][Codegen] EmitBranchOnBoolExpr(): emit prof branch counts even at -O0

This restores the original behaviour before i unadvertedly broke it in
e3a470162738871bba982416748ae5f5e3572947 and clang/test/Profile/ caught it.




More information about the All-commits mailing list