summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreISelLowering.cpp
diff options
context:
space:
mode:
authorArtur Pilipenko <apilipenko@azulsystems.com>2017-04-21 18:45:25 +0000
committerArtur Pilipenko <apilipenko@azulsystems.com>2017-04-21 18:45:25 +0000
commit134d94f9a339be22c22af1014f00eeca03884675 (patch)
tree58e2c516f747813fb38fa830e5d4e0d4e65db954 /llvm/lib/Target/XCore/XCoreISelLowering.cpp
parentc3ecc4b314ebbe163ee0d8d2dd52a03ec76adb01 (diff)
downloadbcm5719-llvm-134d94f9a339be22c22af1014f00eeca03884675.tar.gz
bcm5719-llvm-134d94f9a339be22c22af1014f00eeca03884675.zip
[InstCombine] fadd double (sitofp x), y check that the promotion is valid
Doing these transformations check that the result of integer addition is representable in the FP type. (fadd double (sitofp x), fpcst) --> (sitofp (add int x, intcst)) (fadd double (sitofp x), (sitofp y)) --> (sitofp (add int x, y)) This is a fix for https://bugs.llvm.org//show_bug.cgi?id=27036 Reviewed By: andrew.w.kaylor, scanon, spatel Differential Revision: https://reviews.llvm.org/D31182 llvm-svn: 301018
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud