[all-commits] [llvm/llvm-project] 97d9a7: [AMDGPU] Don't remove short branches over kills
jayfoad via All-commits
all-commits at lists.llvm.org
Mon Feb 3 01:27:02 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 97d9a76afc97f48f63056a9f36ecd6bf82774172
https://github.com/llvm/llvm-project/commit/97d9a76afc97f48f63056a9f36ecd6bf82774172
Author: Jay Foad <jay.foad at amd.com>
Date: 2020-02-03 (Mon, 03 Feb 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRemoveShortExecBranches.cpp
M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
Log Message:
-----------
[AMDGPU] Don't remove short branches over kills
Summary:
D68092 introduced a new SIRemoveShortExecBranches optimization pass and
broke some graphics shaders. The problem is that it was removing
branches over KILL pseudo instructions, and the fix is to explicitly
check for that in mustRetainExeczBranch.
Reviewers: critson, arsenm, nhaehnle, cdevadas, hakzsam
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73771
More information about the All-commits
mailing list