Make copy register code as common function as following.
unsigned copyRegToRegClass(const TargetRegisterClass *ToRC, unsigned SrcReg, unsigned Flag = 0, unsigned SubReg = 0);
Paths
| Differential D57368
[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
Event TimelineHerald added subscribers: llvm-commits, jsji, kbarton, hiraditya. · View Herald TranscriptJan 28 2019, 9:21 PM This revision is now accepted and ready to land.Jan 28 2019, 11:01 PM Closed by commit rL352596: [PowerPC] [NFC] Create a helper function to copy register to particular… (authored by • wuzish). · Explain WhyJan 29 2019, 6:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 184236 llvm/trunk/lib/Target/PowerPC/PPCFastISel.cpp
|