Skip to content
  1. Sep 03, 2013
  2. Sep 02, 2013
  3. Sep 01, 2013
  4. Aug 31, 2013
    • Benjamin Kramer's avatar
      Mark an unreachable code path with llvm_unreachable. Pacifies GCC. · bda73fff
      Benjamin Kramer authored
      llvm-svn: 189726
      bda73fff
    • Benjamin Kramer's avatar
      SimplifyLibCalls: When emitting an overloaded fp function check that it's available. · 2702caad
      Benjamin Kramer authored
      The existing code missed some edge cases when e.g. we're going to emit sqrtf but
      only the availability of sqrt was checked. This happens on odd platforms like
      windows.
      
      llvm-svn: 189724
      2702caad
    • Andrew Trick's avatar
      Fix my previous checkin to updatePressureDiffs. · 2c4f8b7e
      Andrew Trick authored
      There was one case that we could hit a DebugValue where I didn't think
      to check. DebugValues are evil. No checkinable test case, sorry. It's
      an obvious fix.
      
      llvm-svn: 189717
      2c4f8b7e
    • Bill Schmidt's avatar
      [PowerPC] Fast-isel cleanup patch. · eb8d6f7d
      Bill Schmidt authored
      Here are a few miscellaneous things to tidy up the PPC64 fast-isel
      implementation.  I corrected a couple of commentary lapses, and added
      documentation of future opportunities.  I also implemented
      TargetMaterializeAlloca, which I somehow forgot when I split up the
      original huge patch.
      
      Finally, I decided to delete SelectCmp.  I hadn't previously hooked it
      in to TargetSelectInstruction(), and when I did I realized it wasn't
      serving any useful purpose.  This is only useful for compares that
      don't feed a branch in the same block, and to handle that we would
      have to have logic to interpret i1 as a condition register.  This
      could probably be done, but would require Unseemly Hackery, and
      honestly does not seem worth the hassle.
      
      This ends the current patch series.
      
      llvm-svn: 189715
      eb8d6f7d
    • Bill Schmidt's avatar
      [PowerPC] Add integer truncation support to fast-isel. · 9d9510d8
      Bill Schmidt authored
      This is the last substantive patch I'm planning for fast-isel in the
      near future, adding fast selection of integer truncates.  There are
      certainly more things that can be improved (many of which are called
      out in FIXMEs), but for now we are catching most of the important
      cases.
      
      I'll document some of the remaining work in a cleanup patch shortly.
      
      llvm-svn: 189706
      9d9510d8
    • Bill Schmidt's avatar
      Correct partially defined variable · 0954ea1b
      Bill Schmidt authored
      llvm-svn: 189705
      0954ea1b
    • Bill Schmidt's avatar
      [PowerPC] Call support for fast-isel. · 8470b0f9
      Bill Schmidt authored
      This patch adds fast-isel support for calls (but not intrinsic calls
      or varargs calls).  It also removes a badly-formed assert.  There are
      some new tests just for calls, and also for folding loads into
      arguments on calls to avoid extra extends.
      
      llvm-svn: 189701
      8470b0f9
  5. Aug 30, 2013
    • Richard Mitton's avatar
      Build fix · 79917a91
      Richard Mitton authored
      llvm-svn: 189699
      79917a91
    • Richard Mitton's avatar
      Fixed a bug where diassembling an instruction that had a prefix would cause... · 576ee003
      Richard Mitton authored
      Fixed a bug where diassembling an instruction that had a prefix would cause LLVM to identify a 1-byte instruction, but then upon querying it for that 1-byte instruction would cause an undefined opcode.
      
      llvm-svn: 189698
      576ee003
    • Bill Wendling's avatar
      Compulsive reformatting. · 2865be79
      Bill Wendling authored
      llvm-svn: 189697
      2865be79
    • Daniel Dunbar's avatar
      [conf] Add config variable to disable crash related overrides. · eb6c708d
      Daniel Dunbar authored
       - We do some nasty things w.r.t. installing or overriding signal handlers in
         order to improve our crash recovery support or interaction with crash
         reporting software, and those things are not necessarily appropriate when
         LLVM is being linked into a client application that has its own ideas about
         how to do things. This gives those clients a way to disable that handling at
         build time.
      
       - Currently, the code this guards is all Apple specific, but other platforms
         might have the same concerns so I went for a more generic configure
         name. Someone who is more familiar with library embedding on Windows can
         handle choosing which of the Windows/Signals.inc behaviors might make sense
         to go under this flag.
      
       - This also fixes the proper autoconf'ing of ENABLE_BACKTRACES. The code
         expects it to be undefined when disabled, but the autoconf check was just
         defining it to 0.
      
      llvm-svn: 189694
      eb6c708d
    • Reed Kotler's avatar
      Fix a problem with dual mips16/mips32 mode. When the underlying processor · c03807a3
      Reed Kotler authored
      has hard float, when you compile the mips32 code you have to make sure
      that it knows to compile any mips32 routines as hard float. I need to clean
      up the way mips16 hard float is specified but I need to first think through
      all the details. Mips16 always has a form of soft float, the difference being
      whether the underlying hardware has floating point. So it's not really
      necessary to pass the -soft-float to llvm since soft-float is always true
      for mips16 by virtue of the fact that it will not register floating point
      registers. By using this fact, I can simplify the way this is all handled.
      
      llvm-svn: 189690
      c03807a3
    • Andrew Trick's avatar
      Use LiveRangeQuery for instruction-level liveness queries. · 3bf33075
      Andrew Trick authored
      Remove redundant or bug-prone LiveInterval APIs.
      
      llvm-svn: 189685
      3bf33075
    • Bill Schmidt's avatar
      [PowerPC] Add handling for conversions to fast-isel. · 8d86fe7d
      Bill Schmidt authored
      Yet another chunk of fast-isel code.  This one handles various
      conversions involving floating-point.  (It also includes some
      miscellaneous handling throughout the back end for LWA_32 and LWAX_32
      that should have been part of the load-store patch.)
      
      llvm-svn: 189677
      8d86fe7d
    • Andrey Churbanov's avatar
    • Benjamin Kramer's avatar
      InstCombine: Check for zero shift amounts before subtracting one causing integer overflow. · 010f1083
      Benjamin Kramer authored
      PR17026. Also avoid undefined shifts and shift amounts larger than 64 bits
      (those are always undef because we can't represent integer types that large).
      
      llvm-svn: 189672
      010f1083
Loading