OSDN Git Service

[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)
commitc0d1ce55acd60111fc17044c0c11dab1182c91af
treef0590f051809f1981f3d69242f47ba0c685b8f31
parent97c5de758a9c3d4ad14fa97abc0b81a2204aeb1f
[IR] fptrunc-of-fptrunc isn't an EliminableCastPair.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238531 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Instructions.cpp
test/Transforms/InstCombine/fpcast.ll