Skip to content
  1. Aug 30, 2013
  2. Aug 29, 2013
  3. Aug 28, 2013
    • David Blaikie's avatar
      Period. · 9e8f4b06
      David Blaikie authored
      llvm-svn: 189513
      9e8f4b06
    • David Blaikie's avatar
      r189495: Pull out some debug logic into a function for legibility · 53b833b2
      David Blaikie authored
      Code review feedback from Eric Christopher.
      
      llvm-svn: 189512
      53b833b2
    • Rui Ueyama's avatar
      Option parsing: support case-insensitive option matching. · 8fb5a911
      Rui Ueyama authored
      Re-submitting r189416 with fix for Windows build on where strcasecmp is not defined.
      
      llvm-svn: 189501
      8fb5a911
    • Hal Finkel's avatar
      Disable unrolling in the loop vectorizer when disabled in the pass manager · 6d09904c
      Hal Finkel authored
      When unrolling is disabled in the pass manager, the loop vectorizer should also
      not unroll loops. This will allow the -fno-unroll-loops option in Clang to
      behave as expected (even for vectorizable loops). The loop vectorizer's
      -force-vector-unroll option will (continue to) override the pass-manager
      setting (including -force-vector-unroll=0 to force use of the internal
      auto-selection logic).
      
      In order to test this, I added a flag to opt (-disable-loop-unrolling) to force
      disable unrolling through opt (the analog of -fno-unroll-loops in Clang). Also,
      this fixes a small bug in opt where the loop vectorizer was enabled only after
      the pass manager populated the queue of passes (the global_alias.ll test needed
      a slight update to the RUN line as a result of this fix).
      
      llvm-svn: 189499
      6d09904c
    • Kevin Enderby's avatar
      The integrated darwin assembler can hang in an infinite loop (or get an assert · 3aeada28
      Kevin Enderby authored
      with a debug build) with this buggy .indirect_symbol directive usage:
      
      % cat test.s
      x: .indirect_symbol _y
      
      The assertion is because it is trying to get the symbol index for the
      symbol _y when it is writing out the indirect symbol table. This line of
      code in MachObjectWriter::WriteObject() :
      
              Write32(Asm.getSymbolData(*it->Symbol).getIndex());
      
      And while there is a symbol _y it does not have any getSymbolData set which
      is only done in MachObjectWriter::BindIndirectSymbols() for pointer sections
      or stub sections.  I added a check and an error in there to catch this in case
      something slips through.
      
      But to get a better error the parser should detect when a .indirect_symbol
      directive is used and it is not in a pointer section or stub section.  To make
      that work I moved the handling of the indirect symbol out of the target
      independent AsmParser code into the DarwinAsmParser code that can check
      for the proper Mach-O section types.
      
      rdar://14825505
      
      llvm-svn: 189497
      3aeada28
    • David Blaikie's avatar
      PR16995: DebugInfo: Don't overwrite existing member lists when adding template arguments · 13fc7448
      David Blaikie authored
      With the added debug assertions this fix is covered by existing Clang
      tests. (& found some other issues, also fixed)
      
      llvm-svn: 189495
      13fc7448
    • Joey Gouly's avatar
      [ARMv8] · daf0e378
      Joey Gouly authored
      Fix a few things in one swoop.
      
      # Add some negative tests.
      # Fix some formatting issues.
      # Add some missing IsThumb / ARMv8
      # Fix some outs / ins mistakes.
      
      llvm-svn: 189490
      daf0e378
    • Tim Northover's avatar
      ARM: Use "dmb sy" for barriers on M-class CPUs · f5769880
      Tim Northover authored
      The usual default of "dmb ish" (inner-shareable) isn't even a valid instruction
      on v6M or v7M (well, it does the same thing but software is strongly
      discouraged from using it) so we should emit a full-system barrier there.
      
      llvm-svn: 189483
      f5769880
    • Joey Gouly's avatar
      [ARMv8] Add a missing IsThumb to t2LDAEXD. · 179e2c0b
      Joey Gouly authored
      llvm-svn: 189482
      179e2c0b
    • Tim Northover's avatar
      ARM: remove unused v(add|sub)hn and vqdml[as]l intrinsics. · 2e02ed25
      Tim Northover authored
      Clang is now generating cleaner IR, so this removes the old variants which
      should be completely unused.
      
      llvm-svn: 189481
      2e02ed25
Loading