[all-commits] [llvm/llvm-project] dbdda8: Revert D84057 "[PGO][PGSO] Remove a temporary flag...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 22 14:29:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dbdda8232a932f0379caf48f6fece613257381b3
      https://github.com/llvm/llvm-project/commit/dbdda8232a932f0379caf48f6fece613257381b3
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SizeOpts.h
    M llvm/lib/Transforms/Utils/SizeOpts.cpp

  Log Message:
  -----------
  Revert D84057 "[PGO][PGSO] Remove a temporary flag used for gradual rollout."

This reverts commit e64afefdf88d2607c476f13de05193c0f8991976. It caused
a PGO bootstrapped clang to crash on many source files.

`__llvm_profile_instrument_range` seems to trigger a null pointer dereference.

Call stack:
__llvm_profile_instrument_range
llvm::APInt::udiv(llvm::APInt const&) const
getRangeForAffineARHelper




More information about the All-commits mailing list