This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Use the IR pointer type in MMO to guess G_LOAD regbanks
AbandonedPublic

Authored by aemerson on Apr 30 2020, 2:10 PM.

Details

Summary

Results in large perf improvements on FP benchmarks and some minor improvements in code size too.

Diff Detail

Unit TestsFailed

Event Timeline

aemerson created this revision.Apr 30 2020, 2:10 PM
arsenm added a subscriber: arsenm.Apr 30 2020, 7:41 PM
arsenm added inline comments.
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
689–690

This is going to break opaque pointers

aemerson marked an inline comment as done.May 1 2020, 9:47 AM
aemerson added inline comments.
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
689–690

Indeed opaque pointers will break this. Which is why I was going to propose some other form of propagating type information on vregs. RFC incoming...

aemerson abandoned this revision.May 8 2020, 2:01 PM

Abandoning, we'll probably use the FP type info in LLT when that get's added eventually.