diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-20 06:02:09 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-20 06:02:09 +0000 |
commit | 2ac8b324eb4de4507858dcd33ce03ef9973bf1f3 (patch) | |
tree | 1057d4174f5df12cb6c75d52bab911f076150940 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | c7d167d62fbf7ab3a31aed6c6fa0d5f7525ccb30 (diff) |
Fix for PR4235: to build a floating-point value from integer parts,
build an integer and cast that to a float. This fixes a crash
caused by trying to split an f32 into two f16's.
This changes the behavior in test/CodeGen/XCore/fneg.ll because that
testcase now triggers a DAGCombine which converts the fneg into an integer
operation. If someone is interested, it's probably possible to tweak
the test to generate an actual fneg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions