[PATCH] D83584: [AMDGPU] Move LowerSwitch pass to CodeGenPrepare.

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 21:44:13 PDT 2020


sameerds added a comment.

>From the description: "This patch inserts the Lowerswitch pass in an appropriate place to ensure any dead blocks resulting from the transformation will be removed"

This change is not really about one transformation (LowerSwitch). It's about generally protecting the backend from unreachable blocks, no matter where they originate. So a better explanation of why this is the "appropriate place" will be useful.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83584





More information about the llvm-commits mailing list