1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/lib/CodeGen/SelectionDAG
Chris Lattner cd147e5596 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 

llvm-svn: 45405
2007-12-29 08:37:08 +00:00
..
CallingConvLower.cpp propagate struct size and alignment of byval arguments to the DAG 2007-08-10 14:44:42 +00:00
DAGCombiner.cpp make sure not to zap volatile stores, thanks a lot to Dale for noticing this! 2007-12-29 07:15:45 +00:00
LegalizeDAG.cpp Implement expand support for MERGE_VALUEs that only produces one result. 2007-11-24 19:12:15 +00:00
LegalizeTypes.cpp implement some methods. 2007-12-08 22:40:18 +00:00
LegalizeTypes.h Add support for splitting the operand of a return instruction. 2007-12-09 00:06:19 +00:00
LegalizeTypesExpand.cpp Add support for splitting the operand of a return instruction. 2007-12-09 00:06:19 +00:00
LegalizeTypesPromote.cpp Split promotion support out to its own file. 2007-12-08 20:24:38 +00:00
LegalizeTypesScalarize.cpp split scalarization out to its own file. 2007-12-08 20:30:28 +00:00
LegalizeTypesSplit.cpp Duncan points out that the subtraction is unneeded since hte code 2007-12-09 17:56:34 +00:00
Makefile For PR780: 2006-07-26 16:18:00 +00:00
ScheduleDAG.cpp Bug fix. Must also match ResNo when matching an operand with a user. 2007-12-14 08:25:15 +00:00
ScheduleDAGList.cpp Make CalcLatency() non-recursive. 2007-10-15 21:33:22 +00:00
ScheduleDAGRRList.cpp More accurate checks for two-address constraints. 2007-12-20 09:25:31 +00:00
SelectionDAG.cpp improve support for fgetsign 2007-12-22 21:26:52 +00:00
SelectionDAGISel.cpp Simplify LowerCallTo by using a callsite. 2007-12-19 09:48:52 +00:00
SelectionDAGPrinter.cpp Add a (disabled by default) way to view the ID of a node. 2007-10-15 05:32:43 +00:00
TargetLowering.cpp Fold comparisons against a constant nan, and optimize ORD/UNORD 2007-12-29 08:37:08 +00:00