summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOpenMP.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-18 23:20:46 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-18 23:20:46 +0000
commit4cb438b93c3b7d71bb29e988634ffd7c08186d25 (patch)
tree4921cd8858f7037b81aef7cdcc6c1565bcd65b98 /clang/lib/Sema/SemaOpenMP.cpp
parent50b76399edf48dcbf36e73ef13e9049bf6b0c981 (diff)
downloadbcm5719-llvm-4cb438b93c3b7d71bb29e988634ffd7c08186d25.tar.gz
bcm5719-llvm-4cb438b93c3b7d71bb29e988634ffd7c08186d25.zip
TableGen: Allow custom register operand decoder method
This is for a situation where the encoding for a register may be different depending on the specific operand. For some instructions, we want to apply additional restrictions beyond the encoding's constraints. In AMDGPU some operands are VSrc_32, using the VS_32 pseudo register class which accept VGPRs, SGPRs, or immediates in the encoding. Some specific instructions with the same encoding operand do not want to allow immediates or SGPRs, but the encoding format is different in this case than a regular VGPR_32 operand. This allows specifying the encoding should be treated the same without introducing yet another dummy register class. llvm-svn: 275929
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud