[PATCH] D46365: AMDGPU: Separate R600 and GCN TableGen files
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 00:00:25 PDT 2018
arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp:735-739
unsigned getMCReg(unsigned Reg, const MCSubtargetInfo &STI) {
+ if (STI.getTargetTriple().getArch() == Triple::r600)
+ return Reg;
MAP_REG2REG
}
----------------
I would expect this to be a separate function, but not sure where this would go
Repository:
rL LLVM
https://reviews.llvm.org/D46365
More information about the llvm-commits
mailing list