[PATCH] D64353: [AMDGPU] Run '' after isel to simplify PHIs.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 09:49:47 PDT 2019


arsenm added a comment.

I don't follow how eliminating unreachable blocks fixes this.

In general expecting code placement with the block "prolog" instructions isn't reliable. I had fixed this in rL357634 <https://reviews.llvm.org/rL357634>, except it was reverted



================
Comment at: llvm/test/CodeGen/AMDGPU/lcssa-optnone.ll:1-3
+; RUN: llc -march=amdgcn -O0 -o - %s | FileCheck %s
+
+; CHECK-LABEL: non_uniform_loop
----------------
Generate check lines


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64353/new/

https://reviews.llvm.org/D64353





More information about the llvm-commits mailing list