Skip to content
  1. Jul 26, 2007
  2. Jul 25, 2007
  3. Jul 24, 2007
    • Owen Anderson's avatar
      Add initial support for non-local memory dependence analysis. · d998be79
      Owen Anderson authored
      NOTE: This has only been cursorily tested.  Expected improvements soon.
      
      llvm-svn: 40476
      d998be79
    • Steve Naroff's avatar
      · 44fd8ff4
      Steve Naroff authored
      Fix Sema::ParseCallExpr()...it wasn't doing the default array/function promotions on it's argument types.
      
      This resulted in the following errors when compiling promote_types_in_proto.c test...
      
      [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang test/Parser/promote_types_in_proto.c 
      test/Parser/promote_types_in_proto.c:7:24: error: incompatible types passing 'char *[]' to function expecting 'char *const []'
              arrayPromotion(argv);
              ~~~~~~~~~~~~~~ ^~~~
      test/Parser/promote_types_in_proto.c:8:27: error: incompatible types passing 'void (char *const [])' to function expecting 'void (char *const [])'
              functionPromotion(arrayPromotion);
              ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
      2 diagnostics generated.
      
      When fixing this, noticed that both ParseCallExpr() and ParseReturnStmt() were prematurely comparing types for
      equivalence. This is incorrect (since the expr. promotions haven't been done yet). To fix this, I moved the
      check "down" to Sema::CheckAssignmentConstraints().
      
      I also converted Type::isArrayType() to the modern API (since I needed it). Still more Type predicates to 
      convert.
      
      llvm-svn: 40475
      44fd8ff4
    • Owen Anderson's avatar
      Make the copy constructor of SmallPtrSet much faster. · 4c540243
      Owen Anderson authored
      llvm-svn: 40474
      4c540243
    • Anton Korobeynikov's avatar
      Heal EH handling stuff by emitting correct offsets to callee-saved registers. · 0c46451d
      Anton Korobeynikov authored
      Pretty hackish, but code itself is dirty mess, so we won't make anything worse. :)
      
      llvm-svn: 40472
      0c46451d
Loading