Skip to content
  1. Jan 16, 2014
  2. Jan 15, 2014
    • David Peixotto's avatar
      Fix parsing of .symver directive on ARM · c0f92a2d
      David Peixotto authored
      ARM assembly syntax uses @ for a comment, execpt for the second
      parameter of the .symver directive which requires @ as part of the
      symbol name. This commit fixes the parsing of this directive by
      adding a special case for ARM for this one argumnet.
      
      To make the change we had to move the AllowAtInIdentifier variable
      to the MCAsmLexer interface (from AsmLexer) and expose a setter for
      the value.  The ELFAsmParser then toggles this value when parsing
      the second argument to the .symver directive for a target that
      uses @ as a comment symbol
      
      llvm-svn: 199339
      c0f92a2d
    • Quentin Colombet's avatar
      [LTO] Add a hook to map LLVM diagnostics into the clients of LTO. · 5fa1f6f5
      Quentin Colombet authored
      Add a hook in the C API of LTO so that clients of the code generator can set
      their own handler for the LLVM diagnostics.
      The handler is defined like this:
      typedef void (*lto_diagnostic_handler_t)(lto_codegen_diagnostic_severity_t
      severity, const char *diag, void *ctxt)
      - severity says how bad this is.
      - diag is a string that contains the diagnostic message.
      - ctxt is the registered context for this handler.
      
      This hook is more general than the lto_get_error_message, since this function
      keeps only the latest message and can only be queried when something went wrong
      (no warning for instance).
      
      <rdar://problem/15517596>
      
      llvm-svn: 199338
      5fa1f6f5
    • Bob Wilson's avatar
      Remove support for armv7f slice. <rdar://problem/12478440> · f8d5da6e
      Bob Wilson authored
      This was never used for anything so we should just get rid of it.
      
      llvm-svn: 199337
      f8d5da6e
    • Chandler Carruth's avatar
      Use a heavier hammer when --enable-libcpp is passed to bypass the tests · eba44ea5
      Chandler Carruth authored
      which catch buggy versions of libstdc++. While libc++ would pass them,
      we don't actually update the state in the configure script to use libc++
      when we pass --enable-libcpp, the logic for that is in the
      Makefiles. So just completely skip the library test when that configure
      flag is passed.
      
      Hopefully this will be enough to fix the darwin bots at last, and thanks
      to Duncan Smith for getting things set up so I can watch the bots myself
      on lab.llvm.org and see any failures!
      
      llvm-svn: 199334
      eba44ea5
    • Andrea Di Biagio's avatar
      Update test/CodeGen/X86/vbinop-simplify-bug.ll. · 12de5f3b
      Andrea Di Biagio authored
      Redirect the output of llc to /dev/null.
      
      llvm-svn: 199329
      12de5f3b
    • Andrea Di Biagio's avatar
      [DAGCombiner] Fix a wrong check in method SimplifyVBinOp. · d7c03ec3
      Andrea Di Biagio authored
      This fixes a regression intruced by r199135.
      
      Revision 199135 tried to simplify part of the logic in method
      DAGCombiner::SimplifyVBinOp introducing calls to method BuildVectorSDNode::isConstant().
      
      However, that revision wrongly changed the check performed by method
      SimplifyVBinOp to identify dag nodes that can be folded.
      Before revision 199135, that method only tried to simplify vector binary operations
      if both operands were build_vector of Constant/ConstantFP/Undef only.
      
      After revision 199135, method SimplifyVBinop tried to
      simplify also vector binary operations with only one constant operand.
      
      This fixes the problem restoring the old behavior of SimplifyVBinOp.
      
      llvm-svn: 199328
      d7c03ec3
    • Rafael Espindola's avatar
      Return an ErrorOr<Binary *> from createBinary. · 63da2950
      Rafael Espindola authored
      I did write a version returning ErrorOr<OwningPtr<Binary> >, but it is too
      cumbersome to use without std::move. I will keep the patch locally and submit
      when we switch to c++11.
      
      llvm-svn: 199326
      63da2950
    • Chandler Carruth's avatar
      Sink the autoconf check for sufficiently modern host toolchain below the · 7206eaef
      Chandler Carruth authored
      enable flag that selects the C++ standard library to use with the host
      toolchain. Otherwise we end up testing the wrong config.
      
      I'm not really happy about this placement, but its pragmatic and should
      unblock the Apple builders.
      
      llvm-svn: 199325
      7206eaef
    • Kevin Enderby's avatar
      Update the X86 assembler for .intel_syntax to accept · 2e13b1c7
      Kevin Enderby authored
      the | and & bitwise operators.
      
      rdar://15570412
      
      llvm-svn: 199323
      2e13b1c7
    • Rafael Espindola's avatar
      58794050
    • Zoran Jovanovic's avatar
      LL and SC decoder method fix. · 7d63392d
      Zoran Jovanovic authored
      llvm-svn: 199316
      7d63392d
    • Zoran Jovanovic's avatar
      Added support for LWU microMIPS instruction. · d4cb61cf
      Zoran Jovanovic authored
      llvm-svn: 199315
      d4cb61cf
    • Chandler Carruth's avatar
      Fix a bug in r199313 where I failed to restore CXXFLAGS. Doh! Not · 577322a0
      Chandler Carruth authored
      *quite* ready to just slam C++11 on by default.
      
      llvm-svn: 199314
      577322a0
    • Chandler Carruth's avatar
      Add a check to configure that the libstdc++ selected by Clang isn't · f8c6ccf8
      Chandler Carruth authored
      libstdc++v4.6. This is quite hard to test directly, so we test for it by
      checking a known missing feature in that version that was added in v4.7.
      
      This should prevent users from upgrading Clang but not GCC and hosting
      with a too-old GCC's libstdc++ and getting strange and hard to debug
      errors when we switch to C++11 by default.
      
      Also, switch several of the macros I introduced to use AC_LANG_SOURCE
      rather than AC_LANG_PROGRAM as we don't need configure's help writing
      our main function (and we don't need such a function at all for most of
      the tests).
      
      llvm-svn: 199313
      f8c6ccf8
Loading