[PATCH] D103408: DetectDeadLanes: Remove assert for subregister defs

Ahsan Saghir via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 11:39:35 PDT 2021


saghir updated this revision to Diff 353438.
saghir added a comment.

Address comments:

- Subreg defs are indeed illegal; taught peephole optimizer not to emit these.
- Added mir test case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103408

Files:
  llvm/lib/CodeGen/PeepholeOptimizer.cpp
  llvm/test/CodeGen/PowerPC/peephole-subreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103408.353438.patch
Type: text/x-patch
Size: 5427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210621/3bdcfd31/attachment.bin>


More information about the llvm-commits mailing list