This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] [NFC] Create a helper function to copy register to particular register class at PPCFastISel
ClosedPublic

Authored by wuzish on Jan 28 2019, 9:21 PM.

Details

Summary

Make copy register code as common function as following.

unsigned copyRegToRegClass(const TargetRegisterClass *ToRC, unsigned SrcReg, unsigned Flag = 0, unsigned SubReg = 0);

Diff Detail

Repository
rL LLVM

Event Timeline

wuzish created this revision.Jan 28 2019, 9:21 PM
This revision is now accepted and ready to land.Jan 28 2019, 11:01 PM
This revision was automatically updated to reflect the committed changes.