llvm-6502/test/CodeGen
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
..
Alpha xfail a test 2007-11-28 05:37:13 +00:00
ARM Remove xfail. This is fixed. 2007-12-20 02:25:21 +00:00
CBackend Change all floating constants that are not exactly 2007-09-05 17:50:36 +00:00
CellSPU More working CellSPU tests: 2007-12-20 00:44:13 +00:00
Generic Tests for changes made in r45356, where IPO optimizations would drop 2007-12-26 02:47:37 +00:00
IA64 Convert .cvsignore files 2007-06-29 16:35:07 +00:00
PowerPC Fix a significant code quality regression I introduced on PPC64 quite 2007-12-08 07:04:58 +00:00
SPARC Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
X86 Fold comparisons against a constant nan, and optimize ORD/UNORD 2007-12-29 08:37:08 +00:00