This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Implement basic instruction macro fusion in Power10
ClosedPublic

Authored by qiucf on Oct 12 2021, 10:41 PM.

Details

Summary

This patch implements basic fusion types around arithmetic and logical instructions.

Diff Detail

Event Timeline

qiucf created this revision.Oct 12 2021, 10:41 PM
qiucf requested review of this revision.Oct 12 2021, 10:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2021, 10:41 PM
qiucf updated this revision to Diff 379282.Oct 12 2021, 10:44 PM

Add missing dedicated test file

jsji added inline comments.Oct 14 2021, 7:11 AM
llvm/lib/Target/PowerPC/PPC.td
196

nit: description are not consistent with others, note the position of Operations

llvm/test/CodeGen/PowerPC/macro-fusion.mir
2

Do we new require assert?

qiucf updated this revision to Diff 383712.Oct 31 2021, 9:55 PM
qiucf marked 2 inline comments as done.

Add wideimm/loadcmp/spr fusion

qiucf updated this revision to Diff 383731.Nov 1 2021, 1:27 AM
qiucf edited the summary of this revision. (Show Details)
jsji accepted this revision as: jsji.Nov 1 2021, 8:29 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Nov 1 2021, 8:29 AM
This revision was landed with ongoing or failed builds.Nov 8 2021, 1:24 AM
This revision was automatically updated to reflect the committed changes.