llvm-6502/test/Transforms/ConstProp
Chandler Carruth ddbc274169 Manually upgrade the test suite to specify the flag to cttz and ctlz.
I followed three heuristics for deciding whether to set 'true' or
'false':

- Everything target independent got 'true' as that is the expected
  common output of the GCC builtins.
- If the target arch only has one way of implementing this operation,
  set the flag in the way that exercises the most of codegen. For most
  architectures this is also the likely path from a GCC builtin, with
  'true' being set. It will (eventually) require lowering away that
  difference, and then lowering to the architecture's operation.
- Otherwise, set the flag differently dependending on which target
  operation should be tested.

Let me know if anyone has any issue with this pattern or would like
specific tests of another form. This should allow the x86 codegen to
just iteratively improve as I teach the backend how to differentiate
between the two forms, and everything else should remain exactly the
same.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146370 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-12 11:59:10 +00:00
..
2002-05-03-DivideByZeroException.ll
2002-05-03-NotOperator.ll Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
2002-09-03-SetCC-Bools.ll
2003-05-12-DivideError.ll
2005-01-28-SetCCGEP.ll
2006-11-30-vector-cast.ll
2006-12-01-bool-casts.ll
2006-12-01-TruncBoolBug.ll
2007-02-05-BitCast.ll
2007-02-23-sdiv.ll
2007-11-23-cttz.ll Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +00:00
2008-07-07-VectorCompare.ll
2009-06-20-constexpr-zero-lhs.ll
2009-09-01-GEP-Crash.ll
basictest.ll Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
bitcast.ll
bswap.ll Correctly byte-swap APInts with bit-widths greater than 64. 2011-11-23 21:33:37 +00:00
calls.ll Add support for constant folding the pow intrinsic. 2011-12-03 00:00:03 +00:00
constant-expr.ll Add the select optimization recently added to instcombine to constant folding. 2011-01-29 20:35:06 +00:00
dg.exp
div-zero.ll
extractvalue.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
float-to-ptr-cast.ll
insertvalue.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
loads.ll When loading from a constant, fold inttoptr if the integer type and the resulting pointer type both have the same size. 2011-02-06 20:11:56 +00:00
logicaltest.ll Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
overflow-ops.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
phi.ll Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
remtest.ll