1. Mar 05, 2019
    • Shafik Yaghmour's avatar
      [ASTImporter] Handle built-in when importing SourceLocation and FileID · 9adbbcb7
      Shafik Yaghmour authored
      Summary:
      Currently when we see a built-in we try and import the include location. Instead what we do now is find the buffer like we do for the invalid case and copy that over to the to context.
      
      Differential Revision: https://reviews.llvm.org/D58743
      
      llvm-svn: 355332
      9adbbcb7
    • Rong Xu's avatar
      [PGO] Clang part of change for context-sensitive PGO (part1) · a4a09b23
      Rong Xu authored
      Part 1 of CSPGO change in Clang. This includes changes in clang options
      and calls to llvm PassManager. Tests will be committed in part2.
      This change needs the PassManager change in llvm.
      
      Differential Revision: https://reviews.llvm.org/D54176
      
      llvm-svn: 355331
      a4a09b23
    • Rong Xu's avatar
      [PGO] Context sensitive PGO (part 3) · db29a3a4
      Rong Xu authored
      Part 3 of CSPGO changes (mostly related to PassMananger).
      
      Differential Revision: https://reviews.llvm.org/D54175
      
      llvm-svn: 355330
      db29a3a4
    • Zachary Turner's avatar
      Fix Windows build after UserIDResolver patch. · bb4d4e2d
      Zachary Turner authored
      That patch added a function to HostInfo that returns an instance
      of UserIDResolver, but this function was unimplemented on Windows,
      leading to linker errors.  For now, just return a dummy implementation
      that doesn't resolve user ids to get the build green.
      
      llvm-svn: 355329
      bb4d4e2d
    • Nikita Popov's avatar
      [InstCombine] Add tests for add nsw + sadd.with.overflow; NFC · 8670faf9
      Nikita Popov authored
      Baseline tests for D58881, which fixes part of PR38146.
      
      Patch by Dan Robertson.
      
      llvm-svn: 355328
      8670faf9
    • Craig Topper's avatar
      [Subtarget] Follow up to r355167, add another set of curly braces to... · 2729a918
      Craig Topper authored
      [Subtarget] Follow up to r355167, add another set of curly braces to FeatureBitArray initialization to satisfy older versions of clang.
      
      Apparently older versions of clang like 3.6 require an extra set of curly braces around std::array initializations. I'm told the C++ language was changed regarding this by CWG 1270.
      
      llvm-svn: 355327
      2729a918
    • Amara Emerson's avatar
      Re-commit r355104: "[AArch64][GlobalISel] Add support for 64 bit vector shuffle using TBL1." · 8acb0d9c
      Amara Emerson authored
      The code to materialize a mask from a constant pool load tried to use a 128 bit
      LDR to load a 64 bit constant pool entry, which was 8 byte aligned. This resulted
      in a link failure in the NEON tests in the test suite since the LDR address was
      unaligned. This change fixes that to instead emit a 64 bit LDR if the entry is
      64 bit, before converting back to a 128 bit register for the TBL.
      
      llvm-svn: 355326
      8acb0d9c
    • Nirav Dave's avatar
      [MC] Teach ELFObjectWriter that parse-time variables do not appear in · 05e23350
      Nirav Dave authored
      symbol table.
      
      llvm-svn: 355325
      05e23350
    • Craig Topper's avatar
      [DAGCombiner][X86][SystemZ][AArch64] Combine some cases of (bitcast... · 509a8a3c
      Craig Topper authored
      [DAGCombiner][X86][SystemZ][AArch64] Combine some cases of (bitcast (build_vector constants)) between legalize types and legalize dag.
      
      This patch enables combining integer bitcasts of integer build vectors when the new scalar type is legal. I've avoided floating point because the implementation bitcasts float to int along the way and we would need to check the intermediate types for legality
      
      Differential Revision: https://reviews.llvm.org/D58884
      
      llvm-svn: 355324
      509a8a3c
    • Pavel Labath's avatar
      Refactor user/group name resolving code · aa51e6a6
      Pavel Labath authored
      Summary:
      This creates an abstract base class called "UserIDResolver", which can
      be implemented to provide user/group ID resolution capabilities for
      various objects. Posix host implement a PosixUserIDResolver, which does
      that using posix apis (getpwuid and friends).  PlatformGDBRemote
      forwards queries over the gdb-remote link, etc. ProcessInstanceInfo
      class is refactored to make use of this interface instead of taking a
      platform pointer as an argument. The base resolver class already
      implements caching and thread-safety, so implementations don't have to
      worry about that.
      
      The main motivating factor for this was to remove external dependencies
      from the ProcessInstanceInfo class (so it can be put next to
      ProcessLaunchInfo and friends), but it has other benefits too:
      - ability to test the user name caching code
      - ability to test ProcessInstanceInfo dumping code
      - consistent interface for user/group resolution between Platform and
        Host classes.
      
      Reviewers: zturner, clayborg, jingham
      
      Subscribers: mgorny, lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D58167
      
      llvm-svn: 355323
      aa51e6a6
    • Erich Keane's avatar
      Enable _rotl, _lrotl, _rotr, _lrotr on all platforms. · ac8d1b70
      Erich Keane authored
      The above builtins are currently implemented for MSVC mode, however GCC
      also implements these.  This patch enables them for all platforms.
      
      Additionally, this corrects the type for these builtins to always be
      'long int' to match the specification in the Intel Intrinsics Guide.
      
      Change-Id: Ida34be98078709584ef5136c8761783435ec02b1
      llvm-svn: 355322
      ac8d1b70
    • Wouter van Oortmerssen's avatar
      [WebAssembly] Add support for data sections in the assembler. · f3feb6ad
      Wouter van Oortmerssen authored
      Summary:
      This is quite minimal so far, introduce them with .section,
      fill them with .int8 or .asciz, end with .size
      
      Reviewers: dschuff, sbc100, aheejin
      
      Subscribers: jgravelle-google, sunfish, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D58660
      
      llvm-svn: 355321
      f3feb6ad
    • Michal Gorny's avatar
      [lldb] [test] Mark failing tests XFAIL on NetBSD · de11105d
      Michal Gorny authored
      Add a convenience 'expectedFailureNetBSD' decorator and mark all tests
      currently failing on NetBSD with it.  Also skip a few tests that hang
      the test suite.  This should establish a baseline for the test suite
      and get us closer to enabling tests on buildbot.  This will help us
      catch regressions while we still have a lot of work to do to get tests
      working.
      
      It seems that there are also some flaky tests.  I am going to address
      them later on.
      
      Differential Revision: https://reviews.llvm.org/D58527
      
      llvm-svn: 355320
      de11105d
  2. Mar 04, 2019
  3. Mar 03, 2019