HomePhabricator

[AMDGPU] Fix crash in phi-elimination hook.

Authored by hliao on Sep 11 2019, 12:55 PM.

Description

[AMDGPU] Fix crash in phi-elimination hook.

Summary: - Pre-check in case there's just a single PHI insn.

Reviewers: alex-t, rampitec, arsenm

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, dstuttard, tpr, t-tye, hiraditya, llvm-commits, yaxunl

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67451

llvm-svn: 371649

Details

Committed
hliaoSep 11 2019, 12:55 PM
Differential Revision
D67451: [AMDGPU] Fix crash in phi-elimination hook.
Parents
rG4a5dd4a88165: Update documentation.
Branches
Unknown
Tags
Unknown