AMDGPU: Make saturating add/sub legal for DAG path
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 14 Jul 2020 00:57:31 +0000 (20:57 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 29 Jul 2020 12:27:31 +0000 (08:27 -0400)
commitc230965ccf36af5c88c28d065488f76712333683
tree7521f4a55b4800dbe615a057a75c7de029d781e5
parentcdd45d5f9cf61e4a4c0bb01d5cdcdd3d12ffb10f
AMDGPU: Make saturating add/sub legal for DAG path
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/saddo.ll
llvm/test/CodeGen/AMDGPU/saddsat.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/ssubsat.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/uaddsat.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/usubsat.ll [new file with mode: 0644]
llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat.ll [new file with mode: 0644]