This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git. Pull mirroring updated .
  1. 24 Jun, 2020 16 commits
  2. 23 Jun, 2020 14 commits
  3. 22 Jun, 2020 10 commits
    • Sam Clegg's avatar
      [WebAssembly] Add support for externalref to MC and wasm-ld · 79aad89d
      Sam Clegg authored
      This allows code for handling externref values to be processed by the
      assembler and linker.
      
      Differential Revision: https://reviews.llvm.org/D81977
      79aad89d
    • Rahul Joshi's avatar
      - Add hasNItemsOrLess and container variants of hasNItems, hasNItemsOrMore, and hasNItemsOrLess · 0d9726bc
      Rahul Joshi authored
      - Fixed a bug in hasNItems()
      - Extend the STLExtras unit test to test hasSingleElement() and hasNItems() and friends.
      
      Differential Revision: https://reviews.llvm.org/D82232
      0d9726bc
    • Craig Topper's avatar
      Recommit "[X86] Calculate the needed size of the feature arrays in... · 23654d9e
      Craig Topper authored
      Recommit "[X86] Calculate the needed size of the feature arrays in _cpu_indicator_init and getHostCPUName using the size of the feature enum."
      
      Hopefully this version will fix the previously buildbot failure
      23654d9e
    • Greg Clayton's avatar
      Fix the verification of DIEs with DW_AT_ranges. · ccf5a449
      Greg Clayton authored
      Summary: Previous code would try to verify DW_AT_ranges and if any ranges would overlap, it would stop attributing any ranges after this to the DIE which caused incorrect errors to be reported that a DIE's address ranges were not contained in the parent DIE's ranges. Added a fix and a test.
      
      Reviewers: aprantl, labath, probinson, JDevlieghere, jhenderson
      
      Subscribers: hiraditya, MaskRay, cmtice, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D79962
      ccf5a449
    • Craig Topper's avatar
      Revert "[X86] Calculate the needed size of the feature arrays in... · bebea422
      Craig Topper authored
      Revert "[X86] Calculate the needed size of the feature arrays in _cpu_indicator_init and getHostCPUName using the size of the feature enum."
      
      Seems to breaking build.
      
      This reverts commit 5ac144fe.
      bebea422
    • Craig Topper's avatar
      [X86] Remove encoding value from the X86_FEATURE and X86_FEATURE_COMPAT macro. NFCI · 0dfc8e18
      Craig Topper authored
      This was orignally done so we could separate the compatibility
      values and the llvm internal only features into a separate entries
      in the feature array. This was needed when we explicitly had to
      convert the feature into the proper 32-bit chunk at every reference
      and we didn't want things moving around.
      
      Now everything is in an array and we have helper funtions or macros
      to convert encoding to index. So we renumbering is no longer an
      issue.
      0dfc8e18
    • Craig Topper's avatar
      [X86] Calculate the needed size of the feature arrays in _cpu_indicator_init... · 5ac144fe
      Craig Topper authored
      [X86] Calculate the needed size of the feature arrays in _cpu_indicator_init and getHostCPUName using the size of the feature enum.
      
      Move 0 initialization up to the caller so we don't need to know
      the size.
      5ac144fe
    • Zhi Zhuang's avatar
      Add support of __builtin_expect_with_probability · 37fb8603
      Zhi Zhuang authored
      Add a new builtin-function __builtin_expect_with_probability and
      intrinsic llvm.expect.with.probability.
      The interface is __builtin_expect_with_probability(long expr, long
      expected, double probability).
      It is mainly the same as __builtin_expect besides one more argument
      indicating the probability of expression equal to expected value. The
      probability should be a constant floating-point expression and be in
      range [0.0, 1.0] inclusive.
      It is similar to builtin-expect-with-probability function in GCC
      built-in functions.
      
      Differential Revision: https://reviews.llvm.org/D79830
      37fb8603
    • Francesco Petrogalli's avatar
      [sve][acle] Add SVE BFloat16 extensions. · ef597eda
      Francesco Petrogalli authored
      Summary:
      List of intrinsics:
      
      svfloat32_t svbfdot[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3)
      svfloat32_t svbfdot[_n_f32](svfloat32_t op1, svbfloat16_t op2, bfloat16_t op3)
      svfloat32_t svbfdot_lane[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3, uint64_t imm_index)
      
      svfloat32_t svbfmmla[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3)
      
      svfloat32_t svbfmlalb[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3)
      svfloat32_t svbfmlalb[_n_f32](svfloat32_t op1, svbfloat16_t op2, bfloat16_t op3)
      svfloat32_t svbfmlalb_lane[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3, uint64_t imm_index)
      
      svfloat32_t svbfmlalt[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3)
      svfloat32_t svbfmlalt[_n_f32](svfloat32_t op1, svbfloat16_t op2, bfloat16_t op3)
      svfloat32_t svbfmlalt_lane[_f32](svfloat32_t op1, svbfloat16_t op2, svbfloat16_t op3, uint64_t imm_index)
      
      svbfloat16_t svcvt_bf16[_f32]_m(svbfloat16_t inactive, svbool_t pg, svfloat32_t op)
      svbfloat16_t svcvt_bf16[_f32]_x(svbool_t pg, svfloat32_t op)
      svbfloat16_t svcvt_bf16[_f32]_z(svbool_t pg, svfloat32_t op)
      
      svbfloat16_t svcvtnt_bf16[_f32]_m(svbfloat16_t even, svbool_t pg, svfloat32_t op)
      svbfloat16_t svcvtnt_bf16[_f32]_x(svbfloat16_t even, svbool_t pg, svfloat32_t op)
      
      For reference, see section 7.2 of "Arm C Language Extensions for SVE - Version 00bet4"
      
      Reviewers: sdesmalen, ctetreau, efriedma, david-arm, rengolin
      
      Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
      
      Tags: #clang, #llvm
      
      Differential Revision: https://reviews.llvm.org/D82141
      ef597eda
    • stozer's avatar
      [DebugInfo] Update MachineInstr to help support variadic DBG_VALUE instructions · 539381da
      stozer authored
      Following on from this RFC[0] from a while back, this is the first patch towards
      implementing variadic debug values.
      
      This patch specifically adds a set of functions to MachineInstr for performing
      operations specific to debug values, and replacing uses of the more general
      functions where appropriate. The most prevalent of these is replacing
      getOperand(0) with getDebugOperand(0) for debug-value-specific code, as the
      operands corresponding to values will no longer be at index 0, but index 2 and
      upwards: getDebugOperand(x) == getOperand(x+2). Similar replacements have been
      added for the other operands, along with some helper functions to replace
      oft-repeated code and operate on a variable number of value operands.
      
      [0] http://lists.llvm.org/pipermail/llvm-dev/2020-February/139376.html<Paste>
      
      Differential Revision: https://reviews.llvm.org/D81852
      539381da