Details
Details
- Reviewers
rampitec - Group Reviewers
Restricted Project
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Probably would be better to let targets define their own instances of PseudoSourceValueManager
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | ||
---|---|---|
34 | It doesn't look like these constructors really need an AMDGPUTargetMachine. Couldn't they all take an LLVMTargetMachine instead? |
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | ||
---|---|---|
34 | I usually just keep it as the target machine in target code since it's always known |
It doesn't look like these constructors really need an AMDGPUTargetMachine. Couldn't they all take an LLVMTargetMachine instead?