llvm-6502/test/CodeGen/Mips
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
..
2008-06-05-Carry.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-07-03-SRet.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-07-06-fadd64.ll Re-enable some of the disabled tests. Use FileCheck instead of grep to check 2011-09-21 17:36:30 +00:00
2008-07-07-Float2Int.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-07-07-FPExtend.ll Re-enable some of the disabled tests. Use FileCheck instead of grep to check 2011-09-21 17:36:30 +00:00
2008-07-07-IntDoubleConvertions.ll Re-enable some of the disabled tests. Use FileCheck instead of grep to check 2011-09-21 17:36:30 +00:00
2008-07-15-InternalConstant.ll Re-enable some of the disabled tests. Use FileCheck instead of grep to check 2011-09-21 17:36:30 +00:00
2008-07-15-SmallSection.ll Remove +. 2011-09-21 17:43:48 +00:00
2008-07-16-SignExtInReg.ll Drop support for Allegrex. Allegrex implements a variant of Mips2. 2011-09-09 19:00:51 +00:00
2008-07-22-Cstpool.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-07-23-fpcmp.ll Added support for FP conditional move instructions and fixed bugs in handling of FP comparisons. 2011-03-31 18:26:17 +00:00
2008-07-29-icmp.ll Added support for FP conditional move instructions and fixed bugs in handling of FP comparisons. 2011-03-31 18:26:17 +00:00
2008-07-31-fcopysign.ll Custom-lower FCOPYSIGN nodes. 2011-05-25 19:32:07 +00:00
2008-08-01-AsmInline.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-08-03-fabs64.ll Drop support for Allegrex. Allegrex implements a variant of Mips2. 2011-09-09 19:00:51 +00:00
2008-08-03-ReturnDouble.ll Unbreak test, Bruno please check. 2009-11-19 07:18:49 +00:00
2008-08-04-Bitconvert.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-08-06-Alloca.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
2008-08-07-CC.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
2008-08-07-FPRound.ll Re-enable some of the disabled tests. Use FileCheck instead of grep to check 2011-09-21 17:36:30 +00:00
2008-08-08-bswap.ll Drop support for Allegrex. Allegrex implements a variant of Mips2. 2011-09-09 19:00:51 +00:00
2008-08-08-ctlz.ll Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +00:00
2008-10-13-LegalizerBug.ll
2008-11-10-xint_to_fp.ll
2009-11-16-CstPoolLoad.ll Start function numbering at 0. 2010-04-17 16:29:15 +00:00
2010-04-07-DbgValueOtherTargets.ll If dbg_declare() or dbg_value() is not lowered by isel then emit DEBUG message instead of creating DBG_VALUE for undefined value in reg0. 2010-12-06 22:39:26 +00:00
2010-07-20-Switch.ll Have LowerJumpTable support Mips64. Modify 2010-07-20-Switch.ll to test N64 and 2011-12-05 21:03:03 +00:00
2010-11-09-CountLeading.ll Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +00:00
2010-11-09-Mul.ll Fix test cases. 2011-09-09 23:14:58 +00:00
2011-05-26-BranchKillsVreg.ll Fix PR10046 by updating LiveVariables kill info when splitting live ranges. 2011-05-29 20:10:28 +00:00
addc.ll Add a testcase for the addc improvements introduced some commits ago. Patch by Akira Hatanaka 2011-03-09 21:05:32 +00:00
alloca.ll Fix test cases. 2011-09-09 23:14:58 +00:00
analyzebranch.ll Add code for analyzing FP branches. Clean up branch Analysis functions. 2011-04-01 17:39:08 +00:00
atomic.ll Convert more tests over to the new atomic instructions. 2011-09-26 20:27:49 +00:00
blockaddr.ll Add support for C++ exception handling. 2011-05-26 18:59:03 +00:00
brdelayslot.ll Fill delay slot with useful instructions. Modified from Sparc's version of delay 2011-09-29 23:52:13 +00:00
buildpairextractelementf64.ll Make tests register allocation independent again. 2011-04-19 00:14:43 +00:00
cmov.ll 64-bit WrapperPICPat patterns. 2011-12-07 22:11:43 +00:00
constantfp0.ll Test case for 137484 2011-08-12 18:12:06 +00:00
cprestore.ll Reapply r143206, with fixes. Disallow physical register lifetimes 2011-11-03 21:49:52 +00:00
dg.exp
divrem.ll Improve div/rem node handling on mips. Patch by Akira Hatanaka 2011-03-04 21:03:24 +00:00
double2int.ll Fix test cases. 2011-09-09 23:14:58 +00:00
eh.ll Change the default scheduler from Latency to ILP, since Latency 2011-10-24 17:45:02 +00:00
extins.ll Change names for MIPS "generic" processors defined in Mips.td to match what GNU 2011-11-29 23:08:41 +00:00
fcopysign.ll Modify LowerFCOPYSIGN to handle Mips64. 2011-12-07 21:48:50 +00:00
fpbr.ll Added support for FP conditional move instructions and fixed bugs in handling of FP comparisons. 2011-03-31 18:26:17 +00:00
frame-address.ll Drop support for Mips1 and Mips2. 2011-09-09 20:45:50 +00:00
gprestore.ll Remove LLVM IR metadata in test case committed in r130847. 2011-05-04 18:28:36 +00:00
i64arg.ll Change the default scheduler from Latency to ILP, since Latency 2011-10-24 17:45:02 +00:00
indirectcall.ll jalr should use t9 ($25) for indirect calls regardless of the relocation model 2011-12-09 01:45:12 +00:00
inlineasmmemop.ll Change the default scheduler from Latency to ILP, since Latency 2011-10-24 17:45:02 +00:00
internalfunc.ll Fix test cases. 2011-09-09 23:14:58 +00:00
largeimm1.ll Add testcase for r127032 2011-03-04 20:48:39 +00:00
largeimmprinting.ll Change names for MIPS "generic" processors defined in Mips.td to match what GNU 2011-11-29 23:08:41 +00:00
madd-msub.ll Remove unnecessary checking of register operands. 2011-09-30 19:18:24 +00:00
mips64ext.ll 32 to 64-bit zext pattern. 2011-12-07 23:14:41 +00:00
mips64extins.ll Add definitions of 64-bit extract and insert instrucions and make 2011-12-05 21:26:34 +00:00
mips64fpldst.ll Change names for MIPS "generic" processors defined in Mips.td to match what GNU 2011-11-29 23:08:41 +00:00
mips64imm.ll Fix 64-bit immediate patterns. 2011-12-07 20:10:24 +00:00
mips64instrs.ll Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +00:00
mips64intldst.ll Change names for MIPS "generic" processors defined in Mips.td to match what GNU 2011-11-29 23:08:41 +00:00
mips64muldiv.ll Test cases for 64-bit multiplication and division. 2011-12-02 22:31:36 +00:00
mips64shift.ll Add definitions of Mips64 rotate instructions. 2011-09-30 18:51:46 +00:00
mipslopat.ll Upgrade syntax of tests using volatile instructions to use 'load volatile' instead of 'volatile load', which is archaic. 2011-11-27 06:54:59 +00:00
o32_cc_byval.ll Change the default scheduler from Latency to ILP, since Latency 2011-10-24 17:45:02 +00:00
o32_cc_vararg.ll Drop support for Mips1 and Mips2. 2011-09-09 20:45:50 +00:00
o32_cc.ll Fix test cases. 2011-09-09 23:14:58 +00:00
private.ll Fix test cases to use FileCheck. 2011-12-02 22:28:09 +00:00
rotate.ll Change names for MIPS "generic" processors defined in Mips.td to match what GNU 2011-11-29 23:08:41 +00:00
select.ll Fix test cases. 2011-09-09 23:14:58 +00:00
tls.ll Drop support for Mips1 and Mips2. 2011-09-09 20:45:50 +00:00
unalignedload.ll Change the default scheduler from Latency to ILP, since Latency 2011-10-24 17:45:02 +00:00
weak.ll Define WeakRefDirective. 2011-05-25 23:30:30 +00:00