File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ void GCNSubtarget::checkSubtargetFeatures(const Function &F) const {
183
183
}
184
184
}
185
185
186
- AMDGPUSubtarget::AMDGPUSubtarget (const Triple & TT) : TargetTriple(TT ) {}
186
+ AMDGPUSubtarget::AMDGPUSubtarget (Triple TT) : TargetTriple(std::move(TT) ) {}
187
187
188
188
bool AMDGPUSubtarget::useRealTrue16Insts () const {
189
189
return hasTrue16BitInsts () && EnableRealTrue16Insts;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class AMDGPUSubtarget {
71
71
char WavefrontSizeLog2 = 0 ;
72
72
73
73
public:
74
- AMDGPUSubtarget (const Triple & TT);
74
+ AMDGPUSubtarget (Triple TT);
75
75
76
76
static const AMDGPUSubtarget &get (const MachineFunction &MF);
77
77
static const AMDGPUSubtarget &get (const TargetMachine &TM,
You can’t perform that action at this time.
0 commit comments