[all-commits] [llvm/llvm-project] 5deb67: Revert "[SampleProfileInference] Work around odr-u...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Aug 6 16:48:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5deb678289df4a11d5c0786d702ad2730cd7e391
      https://github.com/llvm/llvm-project/commit/5deb678289df4a11d5c0786d702ad2730cd7e391
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  Log Message:
  -----------
  Revert "[SampleProfileInference] Work around odr-use of const non-inline static data member to fix -O0 builds after D120508"

This reverts commit 48c74bb2e2a72830f1068823bfc2f6fd4b53d427.
With C++17 the workaround is no longer needed.




More information about the All-commits mailing list