Skip to content
  1. Jun 16, 2009
  2. Jun 15, 2009
  3. Jun 14, 2009
  4. Jun 13, 2009
    • Nick Lewycky's avatar
      Unlike the other instructions, GEP really does need to look at the type of a · 47b71c58
      Nick Lewycky authored
      pointer. This fixes kimwitu++. Pointed out by Frits van Bommel on review!
      
      llvm-svn: 73299
      47b71c58
    • Sanjiv Gupta's avatar
      · c16c9470
      Sanjiv Gupta authored
      The subprogram descriptor for a function may be missing (llvm-ld linking two static functions with same name), so pick up the compilation unit for the function from the first valid debug loc of its instructions.
      This patch also emits debug info for structure (aggregate types in 
      general) types.
      
      llvm-svn: 73295
      c16c9470
    • Dan Gohman's avatar
      Teach SCEVExpander's visitAddRecExpr to reuse an existing canonical · 426901aa
      Dan Gohman authored
      induction variable when the addrec to be expanded does not require
      a wider type. This eliminates the need for IndVarSimplify to
      micro-manage SCEV expansions, because SCEVExpander now
      automatically expands them in the form that IndVarSimplify considers
      to be canonical. (LSR still micro-manages its SCEV expansions,
      because it's optimizing for the target, rather than for
      other optimizations.)
      
      Also, this uses the new getAnyExtendExpr, which has more clever
      expression simplification logic than the IndVarSimplify code it
      replaces, and this cleans up some ugly expansions in code such as
      the included masked-iv.ll testcase.
      
      llvm-svn: 73294
      426901aa
Loading