Skip to content
  1. Jul 11, 2018
  2. Jul 10, 2018
    • JF Bastien's avatar
      [NFC] typo · a929fd7f
      JF Bastien authored
      llvm-svn: 336730
      a929fd7f
    • Erich Keane's avatar
      [NFC] Switch CodeGenFunction to use value init instead of member init lists · be65e874
      Erich Keane authored
      The member init list for the sole constructor for CodeGenFunction
      has gotten out of hand, so this patch moves the non-parameter-dependent
      initializations into the member value inits.
      
      Note: This is what was intended to be committed in r336726
      llvm-svn: 336729
      be65e874
    • Craig Topper's avatar
      [X86] Remove X86ISD::MOVLPS and X86ISD::MOVLPD. NFCI · dea0b88b
      Craig Topper authored
      These ISD nodes try to select the MOVLPS and MOVLPD instructions which are special load only instructions. They load data and merge it into the lower 64-bits of an XMM register. They are logically equivalent to our MOVSD node plus a load.
      
      There was only one place in X86ISelLowering that used MOVLPD and no places that selected MOVLPS. The one place that selected MOVLPD had to choose between it and MOVSD based on whether there was a load. But lowering is too early to tell if the load can really be folded. So in isel we have patterns that use MOVSD for MOVLPD if we can't find a load.
      
      We also had patterns that select the MOVLPD instruction for a MOVSD if we can find a load, but didn't choose the MOVLPD ISD opcode for some reason.
      
      So it seems better to just standardize on MOVSD ISD opcode and manage MOVSD vs MOVLPD instruction with isel patterns.
      
      llvm-svn: 336728
      dea0b88b
    • Erich Keane's avatar
      Revert -r336726, which included more files than intended. · 9960b8f1
      Erich Keane authored
      llvm-svn: 336727
      9960b8f1
    • Erich Keane's avatar
      [NFC] Switch CodeGenFunction to use value init instead of member init lists · 7b8c12e7
      Erich Keane authored
      The member init list for the sole constructor for CodeGenFunction
      has gotten out of hand, so this patch moves the non-parameter-dependent
      initializations into the member value inits.
      
      llvm-svn: 336726
      7b8c12e7
    • Matt Morehouse's avatar
      [libFuzzer] Disable dataflow.test on AArch64. · 79d55d30
      Matt Morehouse authored
      Summary:
      After my recent change to allow MSan + libFuzzer, the
      ExplodeDFSanLabelsTest.cpp test started to overflow the stack with
      recursive function SetBytesForLabel() on an AArch64 bot.  Perhaps that
      bot has a smaller stack size, or maybe AArch64 has larger stack frames
      for this particular function.
      
      Reviewers: kcc, javed.absar
      
      Reviewed By: kcc
      
      Subscribers: kristof.beyls, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D49150
      
      llvm-svn: 336725
      79d55d30
    • Davide Italiano's avatar
      [testsuite] Implement a category to skip libstdcxx tests · 87951b66
      Davide Italiano authored
      On systems where it's not supported.
      As far as I understand Linux is the only systems which now ships
      with libstdcxx (maybe NetBSD?, but I'm not entirely sure of the
      state of lldb on the platform).
      We could make this more fine grained looking for the header as
      we do for libcxx. This is a little tricky as there's no such
      thing as /usr/include/c++/v1, but libstdcxx encodes the version
      number in the path (i.e. /usr/include/c++/5.4). I guess we might
      match a regex, but it seems fragile to me.
      
      Differential Revision:  https://reviews.llvm.org/D49110
      
      llvm-svn: 336724
      87951b66
    • Raphael Isemann's avatar
      Refactor parsing of option lists with a raw string suffix. · 3a0e1270
      Raphael Isemann authored
      Summary:
      A subset of the LLDB commands follows this command line interface style:
         <command name> [arguments] -- <string suffix>
      The parsing code for this interface has been so far been duplicated into the different
      command objects which makes it hard to maintain and reuse elsewhere.
      
      This patches improves the situation by adding a OptionsWithRaw class that centralizes
      the parsing logic and allows easier testing. The different commands now just call this class to
      extract the arguments and the raw suffix from the provided user input.
      
      Reviewers: jingham
      
      Reviewed By: jingham
      
      Subscribers: mgorny, lldb-commits
      
      Differential Revision: https://reviews.llvm.org/D49106
      
      llvm-svn: 336723
      3a0e1270
    • Scott Linder's avatar
      [AMDGPU] Fix layering issue with AMDGPUHSAMetadataStreamer (NFC) · 01ce144d
      Scott Linder authored
      llvm-svn: 336722
      01ce144d
    • Teresa Johnson's avatar
      [ThinLTO] Use std::map to get determistic imports files · c0320ef4
      Teresa Johnson authored
      Summary:
      I noticed that the .imports files emitted for distributed ThinLTO
      backends do not have consistent ordering. This is because StringMap
      iteration order is not guaranteed to be deterministic. Since we already
      have a std::map with this information, used when emitting the individual
      index files (ModuleToSummariesForIndex), use it for the imports files as
      well.
      
      This issue is likely causing some unnecessary rebuilds of the ThinLTO
      backends in our distributed build system as the imports files are inputs
      to those backends.
      
      Reviewers: pcc, steven_wu, mehdi_amini
      
      Subscribers: mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D48783
      
      llvm-svn: 336721
      c0320ef4
    • Craig Topper's avatar
      [X86] Remove dead SDNode object from X86InstrFragmentsSIMD.td. NFC · fb302d01
      Craig Topper authored
      It points to an opcode that doesn't exist.
      
      llvm-svn: 336720
      fb302d01
    • Matt Morehouse's avatar
      Revert "[Fuzzer] Afl driver changing iterations handling" · 0e904e88
      Matt Morehouse authored
      This reverts rL334510 due to breakage of afl_driver's command line
      interface.
      
      Patch By: Jonathan Metzman
      
      Differential Revision: https://reviews.llvm.org/D49141
      
      llvm-svn: 336719
      0e904e88
    • Evgeniy Stepanov's avatar
      Revert r336653 "[VPlan] Add VPlanTestBase.h with helper class to build VPlan for tests." · 3306a498
      Evgeniy Stepanov authored
      Memory leaks in tests.
      http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/6289/steps/check-llvm%20asan/logs/stdio
      
      Direct leak of 192 byte(s) in 1 object(s) allocated from:
          #0 0x554ea8 in operator new(unsigned long) /b/sanitizer-x86_64-linux-bootstrap/build/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:106
          #1 0x56cef1 in llvm::VPlanTestBase::doAnalysis(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap/build/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:53:14
          #2 0x56bec4 in llvm::VPlanTestBase::buildHCFG(llvm::BasicBlock*) /b/sanitizer-x86_64-linux-bootstrap/build/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h:57:3
          #3 0x571f1e in llvm::(anonymous namespace)::VPlanHCFGTest_testVPInstructionToVPRecipesInner_Test::TestBody() /b/sanitizer-x86_64-linux-bootstrap/build/llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp:119:15
          #4 0xed2291 in testing::Test::Run() /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/googletest/src/gtest.cc
          #5 0xed44c8 in testing::TestInfo::Run() /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/googletest/src/gtest.cc:2656:11
          #6 0xed5890 in testing::TestCase::Run() /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/googletest/src/gtest.cc:2774:28
          #7 0xef3634 in testing::internal::UnitTestImpl::RunAllTests() /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/googletest/src/gtest.cc:4649:43
          #8 0xef27e0 in testing::UnitTest::Run() /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/googletest/src/gtest.cc
          #9 0xebbc23 in RUN_ALL_TESTS /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/googletest/include/gtest/gtest.h:2233:46
          #10 0xebbc23 in main /b/sanitizer-x86_64-linux-bootstrap/build/llvm/utils/unittest/UnitTestMain/TestMain.cpp:51
          #11 0x7f65569592e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
      
      and more.
      
      llvm-svn: 336718
      3306a498
    • Bjorn Pettersson's avatar
      Patch to fix pragma metadata for do-while loops · 404f414e
      Bjorn Pettersson authored
      Summary:
      Make sure that loop metadata only is put on the backedge
      when expanding a do-while loop.
      Previously we added the loop metadata also on the branch
      in the pre-header. That could confuse optimization passes
      and result in the loop metadata being associated with the
      wrong loop.
      
      Fixes https://bugs.llvm.org/show_bug.cgi?id=38011
      
      Committing on behalf of deepak2427 (Deepak Panickal)
      
      Reviewers: #clang, ABataev, hfinkel, aaron.ballman, bjope
      
      Reviewed By: bjope
      
      Subscribers: bjope, rsmith, shenhan, zzheng, xbolva00, lebedev.ri, cfe-commits
      
      Tags: #clang
      
      Differential Revision: https://reviews.llvm.org/D48721
      
      llvm-svn: 336717
      404f414e
    • Evgeniy Stepanov's avatar
      Revert r336590 "[libclang] evalute compound statement cursors before trying to evaluate" · 6df47ceb
      Evgeniy Stepanov authored
      New memory leaks in
      LibclangParseTest_EvaluateChildExpression_Test::TestBody()
      
      llvm-svn: 336716
      6df47ceb
    • Evgeniy Stepanov's avatar
      Revert r336591 "[libclang] NFC, simplify clang_Cursor_Evaluate" · 9b871496
      Evgeniy Stepanov authored
      This change is blocking r336590 which is being reverted due to memory leaks.
      
      llvm-svn: 336715
      9b871496
Loading