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 | 9030c35eb4f33aebe214de52604880d853c4cf25 (patch) | |
tree | 3b26e599df849ee1c04479cb4e4da85af01fa8b5 /clang/test/Analysis/array-struct.c | |
parent | 1fbc2a4754b6bfce605829c99111542f7491a0f6 (diff) | |
download | llvm-9030c35eb4f33aebe214de52604880d853c4cf25.zip llvm-9030c35eb4f33aebe214de52604880d853c4cf25.tar.gz llvm-9030c35eb4f33aebe214de52604880d853c4cf25.tar.bz2 |
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.
llvm-svn: 72162
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions