Skip to content
  1. Sep 13, 2013
    • Michael Sartain's avatar
      Cleanup POSIX RegisterContext class hierarchies. · 0a37085f
      Michael Sartain authored
      llvm-svn: 190647
      0a37085f
    • Hal Finkel's avatar
      Restore the sqrt -> llvm.sqrt mapping in fast-math mode · 28b2ae36
      Hal Finkel authored
      This restores the sqrt -> llvm.sqrt mapping, but only in fast-math mode
      (specifically, when the UnsafeFPMath or NoNaNsFPMath CodeGen options are
      enabled). The @llvm.sqrt* intrinsics have slightly different semantics from the
      libm call, specifically, they are undefined when given a non-zero negative
      number (the libm calls will always return NaN for any negative number).
      
      This mapping was removed in r100613, and replaced with a TODO, but at that time
      the fast-math flags were not yet implemented. Now that we have these, restoring
      this mapping is important because it will enable autovectorization of sqrt
      calls in loops (at least in fast-math mode).
      
      llvm-svn: 190646
      28b2ae36
    • Vincent Lejeune's avatar
      R600: Move clamp handling code to R600IselLowering.cpp · 0167a313
      Vincent Lejeune authored
      llvm-svn: 190645
      0167a313
    • Vincent Lejeune's avatar
      R600: Move code handling literal folding into R600ISelLowering. · 9a248e5c
      Vincent Lejeune authored
      llvm-svn: 190644
      9a248e5c
    • Vincent Lejeune's avatar
      R600: Move fabs/fneg/sel folding logic into PostProcessIsel · ab3baf80
      Vincent Lejeune authored
      This move makes possible to correctly handle multiples instructions
      from a single pattern.
      
      llvm-svn: 190643
      ab3baf80
    • Richard Mitton's avatar
      Fixed a bug where CFI data would become corrupted when using remember/restore state instructions. · f70d6040
      Richard Mitton authored
      This would prevent system calls on Linux from being able to backtrace correctly.
      
      llvm-svn: 190642
      f70d6040
    • Nick Lewycky's avatar
      Fix typo in llvm_unreachable string. · 3141d605
      Nick Lewycky authored
      llvm-svn: 190641
      3141d605
    • Chandler Carruth's avatar
      51428e36
    • Richard Smith's avatar
      PR13657 (and duplicates): · 1fff95c7
      Richard Smith authored
      When a comma occurs in a default argument or default initializer within a
      class, disambiguate whether it is part of the initializer or whether it ends
      the initializer.
      
      The way this works (which I will be proposing for standardization) is to treat
      the comma as ending the default argument or default initializer if the
      following token sequence matches the syntactic constraints of a
      parameter-declaration-clause or init-declarator-list (respectively).
      
      This is both consistent with the disambiguation rules elsewhere (where entities
      are treated as declarations if they can be), and should have no regressions
      over our old behavior. I think it might also disambiguate all cases correctly,
      but I don't have a proof of that.
      
      There is an annoyance here: because we're performing a tentative parse in a
      situation where we may not have seen declarations of all relevant entities (if
      the comma is part of the initializer, lookup may find entites declared later in
      the class), we need to turn off typo-correction and diagnostics during the
      tentative parse, and in the rare case that we decide the comma is part of the
      initializer, we need to revert all token annotations we performed while
      disambiguating.
      
      Any diagnostics that occur outside of the immediate context of the tentative
      parse (for instance, if we trigger the implicit instantiation of a class
      template) are *not* suppressed, mirroring the usual rules for a SFINAE context.
      
      llvm-svn: 190639
      1fff95c7
    • Jason Molenda's avatar
      Disassembler::DisassembleRange() currently calls Target::ReadMemory · 6b3e6d54
      Jason Molenda authored
      with prefer_file_cache == false.  This is what we want to do when
      the user is doing a disassemble command -- show the actual memory
      contents in case the memory has been corrupted or something -- but
      when we're profiling functions for stepping or unwinding
      (ThreadPlanStepRange::GetInstructionsForAddress,
      UnwindAssemblyInstEmulation::GetNonCallSiteUnwindP) we can read
      __TEXT instructions directly out of the file, if it exists.
      <rdar://problem/14397491> 
      
      llvm-svn: 190638
      6b3e6d54
    • Hal Finkel's avatar
      Remove unnecessary TBAA metadata from r190636's test case · a5ebe426
      Hal Finkel authored
      llvm-svn: 190637
      a5ebe426
    • Hal Finkel's avatar
      Fix PPC ABI for ByVal structs with vector members · 262a2247
      Hal Finkel authored
      When a structure is passed by value, and that structure contains a vector
      member, according to the PPC ABI, the structure will receive enhanced alignment
      (so that the vector within the structure will always be aligned).
      
      This should resolve PR16641.
      
      llvm-svn: 190636
      262a2247
    • Eli Friedman's avatar
      Fix regression from r190427. · 4ef077a0
      Eli Friedman authored
      <rdar://problem/14970968>
      
      llvm-svn: 190635
      4ef077a0
    • Joe Abbey's avatar
      Patch provide by Tom Roeder! · 1a6e7708
      Joe Abbey authored
      Reviewed by Joe Abbey and Tobias Grosser
      
      Here is a patch that fixes decoding of CE_SELECT in BitcodeReader,
      along with a simple test case. The problem in the current code is that
      it generates but doesn't accept bitcode that uses vectors for the
      first element of a select in this context.
      
      llvm-svn: 190634
      1a6e7708
  2. Sep 12, 2013
Loading