Skip to content
  1. May 28, 2019
    • Don Hinton's avatar
      [test] Fix plugin tests · fe5eaab2
      Don Hinton authored
      Summary:
      The following changes were required to fix these tests:
      
      1) Change LLVM_ENABLE_PLUGINS to an option and move it to
         llvm/CMakeLists.txt with an appropriate default -- which matches
         the original default behavior.
      
      2) Move the plugins directory from clang/test/Analysis
         clang/lib/Analysis.  It's not enough to add an exclude to the
         lit.local.cfg file because add_lit_testsuites recurses the tree and
         automatically adds the appropriate `check-` targets, which don't
         make sense for the plugins because they aren't tests and don't
         have `RUN` statements.
      
         Here's a list of the `clang-check-anlysis*` targets with this
         change:
      
      ```
        $ ninja -t targets all| sed -n "s/.*\/\(check[^:]*\):.*/\1/p" | sort -u | grep clang-analysis
        check-clang-analysis
        check-clang-analysis-checkers
        check-clang-analysis-copypaste
        check-clang-analysis-diagnostics
        check-clang-analysis-engine
        check-clang-analysis-exploration_order
        check-clang-analysis-html_diagnostics
        check-clang-analysis-html_diagnostics-relevant_lines
        check-clang-analysis-inlining
        check-clang-analysis-objc
        check-clang-analysis-unified-sources
        check-clang-analysis-z3
      ```
      
      3) Simplify the logic and only include the subdirectories under
         clang/lib/Analysis/plugins if LLVM_ENABLE_PLUGINS is set.
      
      Reviewed By: NoQ
      
      Tags: #clang, #llvm
      
      Differential Revision: https://reviews.llvm.org/D62445
      
      llvm-svn: 361790
      fe5eaab2
    • Rui Ueyama's avatar
      Merge ELFFileBase::{initSymtab,parseHeader} as ELFFileBase:init. NFC. · 92069605
      Rui Ueyama authored
      This patch simplifies ELFFile instance initialization by merging
      two similar functions into a single function and call it from the
      ctor.
      
      llvm-svn: 361789
      92069605
    • Craig Topper's avatar
      [CostModel] Add really basic support for being able to query the cost of the FNeg instruction. · 50d50282
      Craig Topper authored
      Summary:
      This reuses the getArithmeticInstrCost, but passes dummy values of the second
      operand flags.
      
      The X86 costs are wrong and can be improved in a follow up. I just wanted to
      stop it from reporting an unknown cost first.
      
      Reviewers: RKSimon, spatel, andrew.w.kaylor, cameron.mcinally
      
      Reviewed By: spatel
      
      Subscribers: hiraditya, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D62444
      
      llvm-svn: 361788
      50d50282
    • Nico Weber's avatar
      llvm-undname: Remove unreachable statement · f83c39e5
      Nico Weber authored
      llvm-svn: 361786
      f83c39e5
    • Sanjay Patel's avatar
      [x86] add test to show volatile store splitting; NFC · 165663ae
      Sanjay Patel authored
      From the LangRef:
      "the backend should never split or merge target-legal
      volatile load/store instructions."
      
      See also:
      D62498
      
      llvm-svn: 361785
      165663ae
    • Petr Hosek's avatar
      [Driver] Change layout of per-target runtimes to resemble multiarch · 61a5e283
      Petr Hosek authored
      This is a follow up to r361432, changing the layout of per-target
      runtimes to more closely resemble multiarch. While before, we used
      the following layout:
      
      [RESOURCE_DIR]/<target>/lib/libclang_rt.<runtime>.<ext>
      
      Now we use the following layout:
      
      [RESOURCE_DIR]/lib/<target>/libclang_rt.<runtime>.<ext>
      
      This also more closely resembles the existing "non-per-target" layout:
      
      [RESOURCE_DIR]/lib/<os>/libclang_rt.<runtime>-<arch>.<ext>
      
      This change will enable further simplification of the driver logic
      in follow up changes.
      
      Differential Revision: https://reviews.llvm.org/D62469
      
      llvm-svn: 361784
      61a5e283
    • Nico Weber's avatar
      llvm-undname: Extract demangleMD5Name() method; no behavior change · 82dc06c3
      Nico Weber authored
      llvm-svn: 361783
      82dc06c3
  2. May 27, 2019
Loading