Skip to content
  1. Aug 14, 2002
  2. Aug 13, 2002
  3. Aug 12, 2002
  4. Aug 10, 2002
    • Chris Lattner's avatar
      New functionality for instcombine: · 6d14f2a7
      Chris Lattner authored
         * New ReplaceInstUsesWith function to factor out tons of common code
           This needs to be used more in the future still, but it's a good start
         * New InsertNewInstBefore to allow multi-instruction replacements
         * Change getMaxValue functions to isAllOnesValue function, which doesn't
           have to CREATE/lookup a new constant.  Also the name is accurate
         * Add new isMaxValue, isMinValue, isMaxValueMinusOne, isMinValuePlusOne
           functions:  This should be moved to Constant* classes eventually
         * Implement xor X, ALLONES -> not X
         * Fold ALL setcc's of booleans away
         * Handle various SetCC's for integers against values at the end of their
           ranges, possibly off by one.  This implements the setcc-strength-reduce.ll
           testcase.
      
      llvm-svn: 3286
      6d14f2a7
    • Chris Lattner's avatar
      xor x, ALLONES should -> not x · 169f7b29
      Chris Lattner authored
      llvm-svn: 3285
      169f7b29
    • Chris Lattner's avatar
      setcc of booleans should always be eliminated · b86ab650
      Chris Lattner authored
      llvm-svn: 3284
      b86ab650
    • Chris Lattner's avatar
      Add more strength reduction testcases · 840d4699
      Chris Lattner authored
      llvm-svn: 3283
      840d4699
Loading