AMDGPU: Stop using .NAME in .td files
authorNicolai Haehnle <nhaehnle@gmail.com>
Thu, 22 Feb 2018 15:25:11 +0000 (15:25 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Thu, 22 Feb 2018 15:25:11 +0000 (15:25 +0000)
commit40b140fef122f429327d494ef2f6c2f71a06ce3f
tree9668a3a2088615b2f6315398e220974f79f71804
parent7c17242b9215d6ac1eacf4a7ed397c672a2b07e9
AMDGPU: Stop using .NAME in .td files

Summary:
.NAME is a bit of an odd duck, in that we should really treat it like
a template argument, but we currently don't, and so when and where
NAME is initialized and how is pretty inconsistent. Best to just avoid
using it as a field of already instantiated records, and use cast to
string instead.

Change-Id: I5a0c202401cede3d5c3827ab9c7858ea48b29108

Reviewers: arsenm, rampitec

Subscribers: kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Differential Revision: https://reviews.llvm.org/D43551

llvm-svn: 325794
llvm/lib/Target/AMDGPU/DSInstructions.td