Skip to content
  1. Dec 22, 2007
  2. Dec 21, 2007
    • Duncan Sands's avatar
      Make DAE not wipe out attributes on calls, and not drop · 6a7703ed
      Duncan Sands authored
      return attributes on the floor.  In the case of a call
      to a varargs function where the varargs arguments are
      being removed, any call attributes on those arguments
      need to be dropped.  I didn't do this because I plan to
      make it illegal to have such attributes (see next patch).
      With this change, compiling the gcc filter2 eh test at -O0
      and then running opt -std-compile-opts on it results in
      a correctly working program (compiling at -O1 or higher
      results in the test failing due to a problem with how we
      output eh info into the IR).
      
      llvm-svn: 45285
      6a7703ed
  3. Dec 20, 2007
  4. Dec 19, 2007
  5. Dec 18, 2007
  6. Dec 17, 2007
  7. Dec 16, 2007
    • Duncan Sands's avatar
      Revert this part of r45073 until the verifier is · 56ed4803
      Duncan Sands authored
      changed not to reject invoke of inline asm.
      
      llvm-svn: 45077
      56ed4803
    • 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
  8. Dec 13, 2007
  9. Dec 12, 2007
  10. Dec 10, 2007
  11. Dec 08, 2007
  12. Dec 06, 2007
  13. Dec 03, 2007
  14. Dec 01, 2007
    • Duncan Sands's avatar
      Integrate the readonly/readnone logic more deeply · 68b6f509
      Duncan Sands authored
      into alias analysis.  This meant updating the API
      which now has versions of the getModRefBehavior,
      doesNotAccessMemory and onlyReadsMemory methods
      which take a callsite parameter.  These should be
      used unless the callsite is not known, since in
      general they can do a better job than the versions
      that take a function.  Also, users should no longer
      call the version of getModRefBehavior that takes
      both a function and a callsite.  To reduce the
      chance of misuse it is now protected.
      
      llvm-svn: 44487
      68b6f509
  15. Nov 29, 2007
  16. Nov 28, 2007
Loading