llvm-6502/lib
Chris Lattner 63079f0757 Fold comparisons against a constant nan, and optimize ORD/UNORD
comparisons with a constant.  This allows us to compile isnan to:

_foo:
	fcmpu cr7, f1, f1
	mfcr r2
	rlwinm r3, r2, 0, 31, 31
	blr 

instead of:

LCPI1_0:					;  float
	.space	4
_foo:
	lis r2, ha16(LCPI1_0)
	lfs f0, lo16(LCPI1_0)(r2)
	fcmpu cr7, f1, f0
	mfcr r2
	rlwinm r3, r2, 0, 31, 31
	blr 



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45405 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-29 08:37:08 +00:00
..
Analysis Adding bindings for memory buffers and module providers. Switching 2007-12-19 22:30:40 +00:00
Archive finishing touches of bytecode -> bitcode changes. also unbreak Windows 2007-07-06 20:28:40 +00:00
AsmParser regenerate. 2007-12-17 01:17:35 +00:00
Bitcode Adding bindings for memory buffers and module providers. Switching 2007-12-19 22:30:40 +00:00
CodeGen Fold comparisons against a constant nan, and optimize ORD/UNORD 2007-12-29 08:37:08 +00:00
Debugger switch this to bitcode instead of bytecode 2007-05-06 09:29:13 +00:00
ExecutionEngine C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler). 2007-12-23 16:59:28 +00:00
Linker Ignore functions with internal linkages during linking. This snipped mimics the 2007-12-27 23:21:57 +00:00
Support Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this case 2007-12-24 11:16:47 +00:00
System Unbreak mingw build 2007-12-22 14:26:49 +00:00
Target Fold comparisons against a constant nan, and optimize ORD/UNORD 2007-12-29 08:37:08 +00:00
Transforms Disable null pointer folding transforms for non-generic address spaces. This should probably be a target-specific predicate based on address space. That way for targets where this isn't applicable the predicate can be optimized away. 2007-12-29 07:56:53 +00:00
VMCore Adding bindings for target triple and data layout. 2007-12-27 20:13:47 +00:00
Makefile build lib/Archive instead of lib/Bytecode 2007-05-06 19:50:06 +00:00