llvm-6502/test/CodeGen
Duncan Sands a29c13086a When promoting the result of fp_to_uint/fp_to_sint,
inform the optimizers that the result must be zero/
sign extended from the smaller type.  For example,
if a fp to unsigned i16 is promoted to fp to i32,
then we are allowed to assume that the extra 16 bits
are zero (because the result of fp to i16 is undefined
if the result does not fit in an i16).  This is
quite aggressive, but should help the optimizers
produce better code.  This requires correcting a
test which thought that fp_to_uint is some kind
of truncation, which it is not: in the testcase
(which does fp to i1), either the fp value converts
to 0 or 1 or the result is undefined, which is
quite different to truncation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58991 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-10 17:28:30 +00:00
..
Alpha get CodeGen/Alpha/mul128.ll to work. 2008-10-09 04:50:56 +00:00
ARM Actually ARM / Mac OS X does have UINTTOFP_I64_F{64|32} libcalls. 2008-11-04 22:19:55 +00:00
CBackend Fix PR2907 by digging through constant expressions to find FP constants that 2008-10-22 04:53:16 +00:00
CellSPU CellSPU: Update expected counts on expected patterns 2008-11-09 01:03:41 +00:00
CPP Put CPPBackend tests into their own directory and run them only if they're 2008-07-10 22:35:32 +00:00
Generic Turn on LegalizeTypes, the new type legalization 2008-10-27 08:42:46 +00:00
IA64 sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
Mips Turn on LegalizeTypes, the new type legalization 2008-10-27 08:42:46 +00:00
PowerPC Generated code for generic expansion of SETUGT etc. 2008-11-08 00:49:19 +00:00
SPARC Add testcase for 'r' inline asm operand 2008-10-10 20:28:59 +00:00
X86 When promoting the result of fp_to_uint/fp_to_sint, 2008-11-10 17:28:30 +00:00
XCore Add basic test for XCore backend 2008-11-07 11:24:12 +00:00