This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Clear kill flags when forming FMA instructions in MachineCombiner.
ClosedPublic

Authored by craig.topper on Jul 12 2023, 12:04 AM.

Details

Summary

If the operands to the mul have other uses we may be extending their
live range past a kill flag.

Diff Detail

Event Timeline

craig.topper created this revision.Jul 12 2023, 12:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 12:04 AM
craig.topper requested review of this revision.Jul 12 2023, 12:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 12:04 AM
wangpc added inline comments.Jul 12 2023, 12:09 AM
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
1657–1668

Wrong base line? only comments here.

Forgot to squash commits.

asi-sc accepted this revision.Jul 12 2023, 6:43 AM

LGTM

This revision is now accepted and ready to land.Jul 12 2023, 6:43 AM
asb accepted this revision.Jul 12 2023, 7:31 AM

LGTM.