llvm-6502/test/Transforms/SCCP
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-02-MissSecondInst.ll
2002-05-20-MissedIncomingValue.ll
2002-05-21-InvalidSimplify.ll
2002-08-30-GetElementPtrTest.ll
2003-06-24-OverdefinedPHIValue.ll
2003-08-26-InvokeHandling.ll Update the tests to the new EH scheme. 2011-08-31 20:55:40 +00:00
2004-11-16-DeadInvoke.ll Update the tests to the new EH scheme. 2011-08-31 20:55:40 +00:00
2004-12-10-UndefBranchBug.ll
2006-10-23-IPSCCP-Crash.ll
2006-12-04-PackedType.ll
2006-12-19-UndefBug.ll
2007-05-16-InvokeCrash.ll Update the tests to the new EH scheme. 2011-08-31 20:55:40 +00:00
2008-01-27-UndefCorrelate.ll
2008-04-22-multiple-ret-sccp.ll remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue. 2011-06-17 06:57:15 +00:00
2008-05-23-UndefCallFold.ll Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +00:00
2009-01-14-IPSCCP-Invoke.ll Update the tests to the new EH scheme. 2011-08-31 20:55:40 +00:00
2009-05-27-VectorOperandZero.ll
apint-array.ll
apint-basictest2.ll
apint-basictest3.ll
apint-basictest4.ll
apint-basictest.ll
apint-bigarray.ll
apint-bigint2.ll
apint-bigint.ll
apint-ipsccp1.ll
apint-ipsccp2.ll
apint-ipsccp3.ll
apint-ipsccp4.ll
apint-load.ll
apint-phi.ll
apint-select.ll
atomic-load-store.ll Add missing newline. 2011-09-01 21:20:11 +00:00
calltest.ll
crash.ll
dg.exp
ipsccp-addr-taken.ll
ipsccp-basic.ll Make sure IPSCCP never marks a tracked call as overdefined in SCCPSolver::ResolvedUndefsIn. If we do, we can end up in a situation where a function is resolved to return a constant, but the caller is marked overdefined, which confuses the code later. 2011-09-20 23:28:51 +00:00
loadtest.ll
logical-nuke.ll
retvalue-undef.ll
sccptest.ll
select.ll
switch.ll Minor bug in SCCP found by inspection. (I don't think it's possible to hit this with a normal pass pipeline, but fixing for completeness.) 2011-08-16 21:12:35 +00:00
undef-resolve.ll Silly mistake from r137777; restore significant isStructTy() checks. While here, be a bit more defensive 2011-08-17 18:10:43 +00:00