Skip to content
  1. Feb 05, 2010
    • Bill Wendling's avatar
      An empty global constant (one of size 0) may have a section immediately · 6510dc8d
      Bill Wendling authored
      following it. However, the EmitGlobalConstant method wasn't emitting a body for
      the constant. The assembler doesn't like that. Before, we were generating this:
      
        .zerofill __DATA, __common, __cmd, 1, 3
      
      This fix puts us back to that semantic.
      
      llvm-svn: 95336
      6510dc8d
    • Bob Wilson's avatar
      Do not reassociate expressions with i1 type. SimplifyCFG converts some · 27dfb1e1
      Bob Wilson authored
      short-circuited conditions to AND/OR expressions, and those expressions
      are often converted back to a short-circuited form in code gen.  The
      original source order may have been optimized to take advantage of the
      expected values, and if we reassociate them, we change the order and
      subvert that optimization.  Radar 7497329.
      
      llvm-svn: 95333
      27dfb1e1
  2. Feb 04, 2010
  3. Feb 03, 2010
Loading