Skip to content
  1. May 20, 2013
  2. May 19, 2013
  3. May 18, 2013
    • Chandler Carruth's avatar
      Fix a logic bug in the handling of -fmath-errno in the driver. We would · 0d4b9e61
      Chandler Carruth authored
      imply -fno-math-errno if the user passed -fno-fast-math OR -ffast-math,
      regardless of in which order and regardless of the tool chain default.
      
      I've fixed this to follow the logic:
      
      1) If the last dominating flag is -fno-math-errno, -ffast-math, or
         -Ofast, then do not use math-errno.
      2) If the last dominating flag is an explicit -fmath-errno, do use
         math-errno.
      3) Otherwise, use the toolchain default.
      
      This, for example, allows the flag sequence
      '-ffast-math ... -fno-fast-math' with no mention of '-fmath-errno' or
      '-fno-math-errno' to preserve the toolchain default. Most notably, this
      should prevent users trying to disable fast-math optimizations on Darwin
      and BSD platforms from simultaneously enabling (pointless) -fmath-errno.
      
      I've enhanced the tests (after more reorganization) to cover this and
      other weird permutations of flags and targets.
      
      llvm-svn: 182203
      0d4b9e61
    • Chandler Carruth's avatar
      Slight reorganization of the fast-math tests which test for errno · 40746dfe
      Chandler Carruth authored
      setting. Consolidate the collection of tests that enable -fmath-errno
      and share a single CHECK line for simplicity.
      
      llvm-svn: 182202
      40746dfe
    • Renato Golin's avatar
      Unsupported remote JIT on ARM · d6841656
      Renato Golin authored
      llvm-svn: 182201
      d6841656
    • David Majnemer's avatar
      isKnownToBeAPowerOfTwo: (X & Y) + Y is a power of 2 or zero if y is also. · beab5678
      David Majnemer authored
      This is useful if something that looks like (x & (1 << y)) ? 64 : 32 is
      the divisor in a modulo operation.
      
      llvm-svn: 182200
      beab5678
    • Arnold Schwaighofer's avatar
      LoopVectorize: Handle single edge PHIs · 693a1ca6
      Arnold Schwaighofer authored
      We might encouter single edge PHIs - handle them with an identity select.
      
      Fixes PR15990.
      
      llvm-svn: 182199
      693a1ca6
Loading