llvm-6502/test
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
..
Analysis Don't crash analyzing certain quadratics (addrec of {X,+,Y,+,1}). 2008-11-03 02:43:49 +00:00
Archive
Assembler Fix the .ll grammar rules to allow any type before an 'i32', not just an 2008-10-15 06:16:45 +00:00
Bindings/Ocaml [PR2886] Ignore stderr from ocamlc since it prints unresolvable warnings on some platforms. 2008-10-22 12:41:54 +00:00
Bitcode
BugPoint
CodeGen When promoting the result of fp_to_uint/fp_to_sint, 2008-11-10 17:28:30 +00:00
DebugInfo Handle (delete) dbg intrinsics while promoting alloca. 2008-11-07 01:30:07 +00:00
ExecutionEngine
Feature
FrontendAda
FrontendC The method of doing the matching with a 'select' instruction was wrong. The 2008-11-09 23:17:42 +00:00
FrontendC++ Testcase for PR2917. 2008-10-29 18:06:20 +00:00
FrontendFortran Testcase for recent llvm-gcc fix 2008-11-03 14:43:31 +00:00
FrontendObjC fix filetype suffix 2008-10-07 06:41:02 +00:00
FrontendObjC++ This is an objective-c test, not an objective-c++ one. 2008-10-06 18:42:48 +00:00
Integer
lib Fix make check on Solaris 10/x86: the default grep is not GNU grep, same for as. 2008-10-21 17:21:32 +00:00
Linker Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
LLVMC Add LLVMC2 tool definitions for Objective-C and Objective-C++. 2008-11-08 03:25:47 +00:00
Other Testcase for PR2894. 2008-10-15 22:34:34 +00:00
Scripts
TableGen Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
Transforms If the LHS of the FCMP is coming from a UIToFP instruction, then we don't want 2008-11-09 04:26:50 +00:00
Verifier
Makefile Fix make check on Solaris 10/x86: the default grep is not GNU grep, same for as. 2008-10-21 17:21:32 +00:00
Makefile.tests
TestRunner.sh