llvm-6502/test/Transforms/InstSimplify
Michael Ilseman 09ee250e72 Added a slew of SimplifyInstruction floating-point optimizations, many of which take advantage of fast-math flags. Test cases included.
fsub X, +0 ==> X
  fsub X, -0 ==> X, when we know X is not -0
  fsub +/-0.0, (fsub -0.0, X) ==> X
  fsub nsz +/-0.0, (fsub +/-0.0, X) ==> X
  fsub nnan ninf X, X ==> 0.0
  fadd nsz X, 0 ==> X
  fadd [nnan ninf] X, (fsub [nnan ninf] 0, X) ==> 0
    where nnan and ninf have to occur at least once somewhere in this expression
  fmul X, 1.0 ==> X



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169940 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-12 00:27:46 +00:00
..
2010-12-20-Boolean.ll Rename this test. 2011-01-14 14:16:33 +00:00
2010-12-20-Distribute.ll Simplify (X<<1)-X into X. According to my auto-simplier this is the most common missed 2011-01-18 09:24:58 +00:00
2011-01-14-Thread.ll Factorize common code out of the InstructionSimplify shift logic. Add in 2011-01-14 14:44:12 +00:00
2011-02-01-Vector.ll Have m_One also match constant vectors for which every element is 1. 2011-02-01 08:39:12 +00:00
2011-09-05-InsertExtractValue.ll InstSimplify: Don't try to replace an extractvalue/insertvalue pair with the original value if types don't match. 2011-09-05 18:16:19 +00:00
2011-10-27-BinOpCrash.ll Reapply commit 143028 with a fix: the problem was casting a ConstantExpr Mul 2011-10-27 19:16:21 +00:00
2011-11-23-MaskedBitsCrash.ll Fix a crash in which a multiplication was being reported as being both negative 2011-11-23 16:26:47 +00:00
AndOrXor.ll A shift of a power of two is a power of two or zero. 2011-10-28 18:30:05 +00:00
compare.ll Add support to ValueTracking for determining that a pointer is non-null 2012-12-07 02:08:58 +00:00
exact-nsw-nuw.ll Teach instsimplify some tricks about exact/nuw/nsw shifts. 2011-02-09 17:15:04 +00:00
fast-math.ll Added a slew of SimplifyInstruction floating-point optimizations, many of which take advantage of fast-math flags. Test cases included. 2012-12-12 00:27:46 +00:00
fdiv.ll Move InstCombine's knowledge of fdiv to SimplifyInstruction(). 2011-01-29 15:26:31 +00:00
floating-point-arithmetic.ll Added a slew of SimplifyInstruction floating-point optimizations, many of which take advantage of fast-math flags. Test cases included. 2012-12-12 00:27:46 +00:00
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
maxmin.ll The comparision "max(x,y)==x" is equivalent to "x>=y". Since the max is 2011-05-07 16:56:49 +00:00
phi.ll Make sure we don't return bits outside the mask in ComputeMaskedBits. PR12189. 2012-03-05 23:09:40 +00:00
ptr_diff.ll Switch the pointer-difference simplification logic to only work with 2012-03-25 20:43:07 +00:00
reassociate.ll Generalize the "trunc(ptrtoint(x)) - trunc(ptrtoint(y)) -> 2012-03-13 14:07:05 +00:00
rem.ll Move some rem transforms out of instcombine and into instsimplify. 2011-05-02 16:27:02 +00:00
undef.ll Add tests for existing InstSimplify features. 2011-11-04 18:39:16 +00:00
vector_gep.ll Add support for vectors of pointers. 2011-12-05 06:29:09 +00:00