[IR] fptrunc-of-fptrunc isn't an EliminableCastPair.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 29 May 2015 00:04:30 +0000 (00:04 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 29 May 2015 00:04:30 +0000 (00:04 +0000)
commit0ea9d1e7531e2ba74691c5e0836b224c95c0ac95
treeda39a610ba8235b7dfac3fe6520106a5563ce795
parentb30c50c8fae80824ea0afe1e17a94f54e21151c9
[IR] fptrunc-of-fptrunc isn't an EliminableCastPair.

Double and single rounding can produce different results.
This is the IR counterpart to r228911.

llvm-svn: 238531
llvm/lib/IR/Instructions.cpp
llvm/test/Transforms/InstCombine/fpcast.ll