OSDN Git Service

Eliminate ftrunc if source is know to be rounded
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 2 Oct 2017 16:57:07 +0000 (16:57 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 2 Oct 2017 16:57:07 +0000 (16:57 +0000)
commit319e85781bc3d35d68e338ecee52dcde58b0ea12
tree4d5c3291c3100e6bf32ed3115d84c32502ca4bb0
parent5295aa52c19464921cd5557547d265ed75619889
Eliminate ftrunc if source is know to be rounded

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314688 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AMDGPU/combine-ftrunc.ll [new file with mode: 0644]