[all-commits] [llvm/llvm-project] b5cdee: [PGO][PGSO] Update BFI in CodeGenPrepare::optimize...
hjyamauchi via All-commits
all-commits at lists.llvm.org
Wed Jan 22 15:49:22 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: b5cdee9bdce49b31c74b0cf4f8231f66bbc2708e
https://github.com/llvm/llvm-project/commit/b5cdee9bdce49b31c74b0cf4f8231f66bbc2708e
Author: Hiroshi Yamauchi <yamauchi at google.com>
Date: 2020-01-23 (Thu, 23 Jan 2020)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/X86/cmov-into-branch.ll
Log Message:
-----------
[PGO][PGSO] Update BFI in CodeGenPrepare::optimizeSelectInst.
Summary:
Without the BFI update, some hot blocks are incorrectly treated as cold code.
This fixes a FDO perf regression in the TSVC benchmark from D71288.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73146
(cherry picked from commit ddbc728828c70728473b47c9f7427aa9514f3d17)
More information about the All-commits
mailing list