Skip to content
  1. Apr 27, 2011
  2. Apr 26, 2011
  3. Apr 25, 2011
  4. Apr 24, 2011
  5. Apr 23, 2011
  6. Apr 22, 2011
    • Chris Lattner's avatar
      Recommit the fix for rdar://9289512 with a couple tweaks to · 6d277517
      Chris Lattner authored
      fix bugs exposed by the gcc dejagnu testsuite:
      1. The load may actually be used by a dead instruction, which
         would cause an assert.
      2. The load may not be used by the current chain of instructions,
         and we could move it past a side-effecting instruction. Change
         how we process uses to define the problem away.
      
      llvm-svn: 130018
      6d277517
    • Benjamin Kramer's avatar
      DAGCombine: fold "(zext x) == C" into "x == (trunc C)" if the trunc is lossless. · 341c11da
      Benjamin Kramer authored
      On x86 this allows to fold a load into the cmp, greatly reducing register pressure.
        movzbl	(%rdi), %eax
        cmpl	$47, %eax
      ->
        cmpb	$47, (%rdi)
      
      This shaves 8k off gcc.o on i386. I'll leave applying the patch in README.txt to Chris :)
      
      llvm-svn: 130005
      341c11da
    • Devang Patel's avatar
      Do not leak argument's DbgVariables. · ad45d911
      Devang Patel authored
      llvm-svn: 130004
      ad45d911
    • Evan Cheng's avatar
      Typo · 8ea3af47
      Evan Cheng authored
      llvm-svn: 129970
      8ea3af47
    • Bill Wendling's avatar
      Branch folding is folding a landing pad into a regular BB. · c14d7322
      Bill Wendling authored
      An exception is thrown via a call to _cxa_throw, which we don't expect to
      return. Therefore, the "true" part of the invoke goes to a BB that has
      'unreachable' as its only instruction. This is lowered into an empty MachineBB.
      The landing pad for this invoke, however, is directly after the "true" MBB.
      When the empty MBB is removed, the landing pad is directly below the BB with the
      invoke call. The unconditional branch is removed and then the two blocks are
      merged together.
      
      The testcase is too big for a regression test.
      <rdar://problem/9305728>
      
      llvm-svn: 129965
      c14d7322
  7. Apr 21, 2011
  8. Apr 20, 2011
  9. Apr 19, 2011
    • Daniel Dunbar's avatar
      CodeGen: Eliminate a use of getDarwinMajorNumber(). · 4a7783b0
      Daniel Dunbar authored
       - There is a minor semantic change here (evidenced by the test change) for
         Darwin triples that have no version component. I debated changing the default
         behavior of isOSVersionLT, but decided it made more sense for triples to be
         explicit.
      
      llvm-svn: 129802
      4a7783b0
Loading