1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Analysis
Chandler Carruth 2bedf185c9 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.

llvm-svn: 146370
2011-12-12 11:59:10 +00:00
..
BasicAA Manually upgrade the test suite to specify the flag to cttz and ctlz. 2011-12-12 11:59:10 +00:00
BlockFrequencyInfo Generalize the reading of probability metadata to work for both branches 2011-10-19 10:32:19 +00:00
BranchProbabilityInfo Fix the API usage in loop probability heuristics. It was incorrectly 2011-10-25 09:47:41 +00:00
CallGraph Test case for r132797. 2011-06-14 03:02:05 +00:00
Dominators
GlobalsModRef manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
LoopDependenceAnalysis
LoopInfo
PostDominators remove postdom frontiers, because it is dead. Forward dom frontiers are 2011-04-05 21:57:17 +00:00
Profiling
RegionInfo Make tests more useful. 2011-04-25 10:12:01 +00:00
ScalarEvolution SCEV fix. In general, Add/Mul expressions should not inherit NSW/NUW. 2011-11-29 02:16:38 +00:00
TypeBasedAliasAnalysis Reapply r131781, now that the GVN bug with partially-aliasing loads 2011-06-04 06:50:18 +00:00