InstCombine: Check source value precision when reducing cast intrinsic
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 20 Mar 2017 21:59:24 +0000 (21:59 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 20 Mar 2017 21:59:24 +0000 (21:59 +0000)
commit6b00d409003853e8bdaa8c25c4e1e436b1ed2f28
treedbb987321dfc8fd59b80d5411c2569739c7f0220
parent4340d64f916c95dcfec1159ebab3d9d1b278a8d8
InstCombine: Check source value precision when reducing cast intrinsic

Missed this check when porting from the libcall version.

llvm-svn: 298312
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/double-float-shrink-2.ll