llvm-project/llvm/lib/Target/AMDGPU/Utils
Matt Arsenault 055e4dce45 AMDGPU: Remove dx10-clamp from subtarget features
Since this can be set with s_setreg*, it should not be a subtarget
property. Set a default based on the calling convention, and Introduce
a new amdgpu-dx10-clamp attribute to override this if desired.

Also introduce a new amdgpu-ieee attribute to match.

The values need to match to allow inlining. I think it is OK for the
caller's dx10-clamp attribute to override the callee, but there
doesn't appear to be the infrastructure to do this currently without
definining the attribute in the generic Attributes.td.

Eventually the calling convention lowering will need to insert a mode
switch somewhere for these.

llvm-svn: 357302
2019-03-29 19:14:54 +00:00
..
AMDGPUAsmUtils.cpp [AMDGPU][MC][GFX8+] Added syntactic sugar for 'vgpr index' operand of instructions s_set_gpr_idx_on and s_set_gpr_idx_mode 2019-02-27 13:12:12 +00:00
AMDGPUAsmUtils.h [AMDGPU][MC][GFX8+] Added syntactic sugar for 'vgpr index' operand of instructions s_set_gpr_idx_on and s_set_gpr_idx_mode 2019-02-27 13:12:12 +00:00
AMDGPUBaseInfo.cpp AMDGPU: Remove dx10-clamp from subtarget features 2019-03-29 19:14:54 +00:00
AMDGPUBaseInfo.h AMDGPU: Remove dx10-clamp from subtarget features 2019-03-29 19:14:54 +00:00
AMDGPUPALMetadata.cpp [AMDGPU] Do not generate spurious PAL metadata 2019-03-20 22:02:09 +00:00
AMDGPUPALMetadata.h [AMDGPU] Do not generate spurious PAL metadata 2019-03-20 22:02:09 +00:00
AMDKernelCodeTInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDKernelCodeTUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDKernelCodeTUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [AMDGPU] Factored PAL metadata handling out into its own class 2019-03-20 17:42:00 +00:00
LLVMBuild.txt [AMDGPU] Fix dependency on `BinaryFormat` 2019-03-20 21:22:27 +00:00