Chris Lattner 504e8fb74e Implement a bunch of symbolic constant folding opportunities. This implements
testcase test/Regression/Assembler/ConstantExprFold.llx

Note that these kinds of things only rarely show up in source code, but are
exceedingly common in the intermediate stages of algorithms like SCCP.  By
folding things (especially relational operators) that use symbolic constants,
we are able to speculatively fold more conditional branches, which can
lead to some big simplifications.

It would be easy to add a lot more special cases here, so if you notice
SCCP missing anything "obvious", you know what to make smarter.  :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10812 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 05:51:55 +00:00
..
2003-11-21 20:23:48 +00:00
2003-11-20 17:45:12 +00:00
2003-11-21 20:23:48 +00:00
2003-11-20 17:45:12 +00:00
2003-12-14 21:35:53 +00:00
2003-11-21 20:23:48 +00:00
2004-01-11 23:30:03 +00:00
2003-12-31 07:08:19 +00:00
2003-12-31 03:19:37 +00:00
2003-11-21 20:23:48 +00:00
2004-01-06 05:33:02 +00:00