Avoid conversion to float when creating ConstantDataArray/ConstantDataVector.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Feb 2015 16:08:20 +0000 (16:08 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Feb 2015 16:08:20 +0000 (16:08 +0000)
commit1b4da6c8ce0cb58d3686f4ff92119491e77a7758
treea7db10bdf915b0c89a2de4d4053cd63d6cce821a
parent1ce666d86caf60649b9ffd2679e67d33681cbea1
Avoid conversion to float when creating ConstantDataArray/ConstantDataVector.

Patch by Raoux, Thomas F!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229864 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Constants.h
lib/IR/Constants.cpp
test/Transforms/ConstProp/InsertElement.ll [new file with mode: 0644]
test/Transforms/ConstProp/insertvalue.ll