Skip to content
  1. Oct 23, 2009
  2. Oct 21, 2009
    • Chris Lattner's avatar
      make GVN work better when TD is not around: · 8ed7bef4
      Chris Lattner authored
      "In the existing code, if the load and the value to replace it with are
      of different types *and* target data is available, it tries to use the
      target data to coerce the replacement value to the type of the load.
      Otherwise, it skips all effort to handle the type mismatch and just
      feeds the wrongly-typed replacement value to replaceAllUsesWith, which
      triggers an assertion.
      
      The patch replaces it with an outer if checking for type mismatch, and
      an inner if-else that checks whether target data is available and, if
      not, returns false rather than trying to replace the load."
      
      Patch by Kenneth Uildriks!
      
      llvm-svn: 84739
      8ed7bef4
  3. Oct 20, 2009
  4. Oct 19, 2009
  5. Oct 14, 2009
  6. Oct 11, 2009
  7. Oct 10, 2009
  8. Sep 27, 2009
  9. Sep 21, 2009
  10. Sep 20, 2009
  11. Sep 19, 2009
  12. Sep 03, 2009
  13. Sep 02, 2009
  14. Aug 27, 2009
  15. Aug 13, 2009
  16. Jul 31, 2009
  17. Jul 25, 2009
  18. Jul 22, 2009
  19. Jul 21, 2009
  20. Jul 14, 2009
  21. Jul 11, 2009
    • Torok Edwin's avatar
      assert(0) -> LLVM_UNREACHABLE. · 56d06597
      Torok Edwin authored
      Make llvm_unreachable take an optional string, thus moving the cerr<< out of
      line.
      LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
      NDEBUG builds.
      
      llvm-svn: 75379
      56d06597
  22. Jul 10, 2009
  23. Jul 08, 2009
  24. Jul 03, 2009
  25. Jun 17, 2009
    • Dale Johannesen's avatar
      This fixes a bug introduced in 72661, which can · 81b6463e
      Dale Johannesen authored
      move loads back past a check that the load address
      is valid, see new testcase.  The test that went
      in with 72661 has exactly this case, except that
      the conditional it's moving past is checking
      something else; I've settled for changing that
      test to reference a global, not a pointer.  It
      may be possible to scan all the tests you pass and
      make sure none of them are checking any component
      of the address, but it's not trivial and I'm not
      trying to do that here.
      
      llvm-svn: 73632
      81b6463e
Loading