HomePhabricator

[PowerPC] Fix broken kill flag after MI peephole

Authored by nemanjai on Sep 2 2020, 3:04 PM.

Description

[PowerPC] Fix broken kill flag after MI peephole

The test case in https://bugs.llvm.org/show_bug.cgi?id=47373 exposed
two bugs in the PPC back end. The first one was fixed in commit
27714075848e7f05a297317ad28ad2570d8e5a43 but the test case had to
be added without -verify-machineinstrs due to the second bug.
This commit fixes the use-after-kill that is left behind by the
PPC MI peephole optimization.

Details

Committed
nemanjaiSep 2 2020, 3:07 PM
Parents
rG51128b670d4f: Fix de6caf871be79dc7549aebe4e4fb57d52f6ed202
Branches
Unknown
Tags
Unknown