1. Jan 20, 2020
  2. Jan 19, 2020
  3. Jan 18, 2020
    • Eric Astor's avatar
      Revert "[ms] [llvm-ml] Add placeholder for llvm-ml, based on llvm-mc" · 0eeddf1a
      Eric Astor authored
      This reverts commit 22af2cbe, due to breakages on ARM platforms.
      0eeddf1a
    • Saar Raz's avatar
      Revert "[Concepts] Requires Expressions" · baa84d8c
      Saar Raz authored
      This reverts commit 02793189.
      
      There have been some failing tests on some platforms, reverting while investigating.
      baa84d8c
    • Simon Pilgrim's avatar
      [X86] Rename lowerShuffleAsRotate -> lowerShuffleAsVALIGN · 69bc4508
      Simon Pilgrim authored
      Since it can only ever create VALIGN nodes.
      69bc4508
    • Simon Pilgrim's avatar
    • Saar Raz's avatar
      [Concepts] Requires Expressions · 02793189
      Saar Raz authored
      Implement support for C++2a requires-expressions.
      
      Differential Revision: https://reviews.llvm.org/D50360
      02793189
    • Michael Liao's avatar
    • Fred Riss's avatar
      [lldb/testsuite] Modernize 2 test Makefiles · 546f8f42
      Fred Riss authored
      Those old Makefiles used completely ad-hoc rules for building files,
      which means they didn't obey the test harness' variants.
      
      They were somewhat tricky to update as they use very peculiar build
      flags for some files. For this reason I was careful to compare the
      build commands before and after the change, which is how I found the
      discrepancy fixed by the previous commit.
      
      While some of the make syntax used here might not be easy to grasp for
      newcomers (per-target variable overrides), it seems better than to
      have to repliacte the Makefile.rules logic for the test variants and
      platform support.
      546f8f42
    • Fred Riss's avatar
      [lldb/Makefile.rules] Force the default target to be 'all' · 509b7888
      Fred Riss authored
      The test harness invokes the test Makefiles with an explicit 'all'
      target, but it's handy to be able to recursively call Makefile.rules
      without speficying a goal.
      
      Some time ago, we rewrote some tests in terms of recursive invocations
      of Makefile.rules. It turns out this had an unintended side
      effect. While using $(MAKE) for a recursive invocation passes all the
      variables set on the command line down, it doesn't pass the make
      goals. This means that those recursive invocations would invoke the
      default rule. It turns out the default rule of Makefile.rules is not
      'all', but $(EXE). This means that ti would work becuase the
      executable is always needed, but it also means that the created
      binaries would not follow some of the other top-level build
      directives, like MAKE_DSYM.
      
      Forcing 'all' to be the default target seems easier than making sure
      all the invocations are correct going forward. This patch does this
      using the .DEFAULT_GOAL directive rather than hoisting the 'all' rule
      to be the first one of the file. It seems like this explicit approach
      will be less prone to be broken in the future. Hopefully all the make
      implementations we use support it.
      509b7888
    • David Blaikie's avatar
      DebugInfo: Move SectionLabel tracking into CU's addRange · 58b10df5
      David Blaikie authored
      This makes the SectionLabel handling more resilient - specifically for
      future PROPELLER work which will have more CU ranges (rather than just
      one per function).
      
      Ultimately it might be nice to make this more general/resilient to
      arbitrary labels (rather than relying on the labels being created for CU
      ranges & then being reused by ranges, loclists, and possibly other
      addresses). It's possible that other (non-rnglist/loclist) uses of
      addresses will need the addresses to be in SectionLabels earlier (eg:
      move the CU.addRange to be done on function begin, rather than function
      end, so during function emission they are already populated for other
      use).
      58b10df5
    • David Blaikie's avatar
      [IR] Remove some unnecessary cleanup in Module's dtor, and use a unique_ptr to simplify some · 46ed9331
      David Blaikie authored
      Follow on from D72812, based on Mehdi Amini's feedback.
      46ed9331
    • Derek Schuff's avatar
      [WebAssembly] Track frame registers through VReg and local allocation · ff171acf
      Derek Schuff authored
      This change has 2 components:
      
      Target-independent: add a method getDwarfFrameBase to TargetFrameLowering. It
      describes how the Dwarf frame base will be encoded.  That can be a register (the
      default), the CFA (which replaces NVPTX-specific logic in DwarfCompileUnit), or
      a DW_OP_WASM_location descriptr.
      
      WebAssembly: Allow WebAssemblyFunctionInfo::getFrameRegister to return the
      correct virtual register instead of FP32/SP32 after WebAssemblyReplacePhysRegs
      has run.  Make WebAssemblyExplicitLocals store the local it allocates for the
      frame register. Use this local information to implement getDwarfFrameBase
      
      The result is that the DW_AT_frame_base attribute is correctly encoded for each
      subprogram, and each param and local variable has a correct DW_AT_location that
      uses DW_OP_fbreg to refer to the frame base.
      
      This is a reland of rG3a05c396 with fixes for the expensive-checks
      and Windows builds
      
      Differential Revision: https://reviews.llvm.org/D71681
      ff171acf
    • Frank Laub's avatar
      [MLIR] LLVM dialect: modernize and cleanups · ee2de955
      Frank Laub authored
      Summary:
      Modernize some of the existing custom parsing code in the LLVM dialect.
      While this reduces some boilerplate code, it also reduces the precision
      of the diagnostic error messges.
      
      Reviewers: ftynse, nicolasvasilache, rriddle
      
      Reviewed By: rriddle
      
      Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D72967
      ee2de955