Skip to content
  1. Jan 14, 2008
  2. Jan 13, 2008
  3. Jan 12, 2008
  4. Jan 11, 2008
  5. Jan 07, 2008
  6. Jan 06, 2008
    • Duncan Sands's avatar
      The transform that tries to turn calls to bitcast functions into · 404eb052
      Duncan Sands authored
      direct calls bails out unless caller and callee have essentially
      equivalent parameter attributes.  This is illogical - the callee's
      attributes should be of no relevance here.  Rework the logic, which
      incidentally fixes a crash when removed arguments have attributes.
      
      llvm-svn: 45658
      404eb052
    • Duncan Sands's avatar
      When transforming a call to a bitcast function into · 55e5090f
      Duncan Sands authored
      a direct call with cast parameters and cast return
      value (if any), instcombine was prepared to cast any
      non-void return value into any other, whether castable
      or not.  Add a new predicate for testing whether casting
      is valid, and check it both for the return value and
      (as a cleanup) for the parameters.
      
      llvm-svn: 45657
      55e5090f
  7. Jan 03, 2008
  8. Jan 02, 2008
  9. Jan 01, 2008
  10. Dec 30, 2007
  11. Dec 29, 2007
  12. Dec 27, 2007
  13. Dec 25, 2007
  14. Dec 21, 2007
    • Duncan Sands's avatar
      Get the verifier to check attributes on calls as well · 8c582280
      Duncan Sands authored
      as on functions.  Make it verify invokes and not just
      ordinary calls.  As a (desired) side-effect, it is no
      longer legal to have call attributes on arguments that
      are being passed to the varargs part of a varargs
      function (llvm-as drops them on the floor anyway).
      
      llvm-svn: 45286
      8c582280
  15. Dec 19, 2007
  16. Dec 18, 2007
  17. Dec 17, 2007
  18. Dec 16, 2007
    • Duncan Sands's avatar
      Make instcombine promote inline asm calls to 'nounwind' · 8e4847ee
      Duncan Sands authored
      calls.  Remove special casing of inline asm from the
      inliner.  There is a potential problem: the verifier
      rejects invokes of inline asm (not sure why).  If an
      asm call is not marked "nounwind" in some .ll, and
      instcombine is not run, but the inliner is run, then
      an illegal module will be created.  This is bad but
      I'm not sure what the best approach is.  I'm tempted
      to remove the check in the verifier...
      
      llvm-svn: 45073
      8e4847ee
  19. Dec 14, 2007
  20. Dec 12, 2007
    • Duncan Sands's avatar
      Revert r44626, which turned off the use of readonly · 9ab0943b
      Duncan Sands authored
      and readnone for functions with bodies because it
      broke llvm-gcc-4.2 bootstrap.  It turns out that,
      because of LLVM's array_ref hack, gcc was computing
      pure/const attributes wrong (now fixed by turning
      off the gcc ipa-pure-const pass).
      
      llvm-svn: 44937
      9ab0943b
Loading