1. Nov 22, 2023
  2. Nov 21, 2023
    • Youngsuk Kim's avatar
      [llvm][IRMover] Remove no-op ptr-to-ptr bitcast (NFC) · c0a1fcd3
      Youngsuk Kim authored
      Opaque ptr cleanup effort.
      c0a1fcd3
    • Erich Keane's avatar
      [OpenACC] Implement enter data/exit data construct parsing (#72916) · 147b38b1
      Erich Keane authored
      These two constructs, 'enter data' and 'exit data', are novel compared
      to what is currently in the parser, as this is the first set implemented
      where the first token is itself not a valid construct. Because of this,
      it requires some additional work to do the first keyword parsing.
      147b38b1
    • Fangrui Song's avatar
      [ELF] Support R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 in non-SHF_ALLOC sections (#72610) · 7ffabb61
      Fangrui Song authored
      For a label difference like `.uleb128 A-B`, MC generates a pair of
      R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 if A-B cannot be folded as a
      constant. GNU assembler generates a pair of relocations in more cases
      (when A or B is in a code section with linker relaxation).
      
      `.uleb128 A-B` is primarily used by DWARF v5
      .debug_loclists/.debug_rnglists (DW_LLE_offset_pair/DW_RLE_offset_pair
      entry kinds) implemented in Clang and GCC.
      
      `.uleb128 A-B` can be used in SHF_ALLOC sections as well (e.g.
      `.gcc_except_table`). This patch does not handle SHF_ALLOC.
      
      `-z dead-reloc-in-nonalloc=` can be used to change the relocated value,
      if the R_RISCV_SET_ULEB128 symbol is in a discarded section. We don't
      check the R_RISCV_SUB_ULEB128 symbol since for the expected cases A and
      B should be defined in the same input section.
      7ffabb61
    • Ivan Butygin's avatar
      [mlir][spirv] Add more CL math ops (#72995) · 61835152
      Ivan Butygin authored
      tan
      atan
      atanh
      sinh
      cosh
      asin
      asinh
      acos
      acosh
      atan2
      61835152
    • Jessica Del's avatar
      [AMDGPU] - Add constant folding to s_wqm intrinsic (#72382) · f85e7ab0
      Jessica Del authored
      Fold any constant input to the `s_wqm` intrinsic.
      f85e7ab0
    • Momchil Velikov's avatar
      [AArch64][SVE2.1] Add intrinsics for quadword loads/stores with unscaled offset (#70474) · f3358838
      Momchil Velikov authored
      This patch adds a set of SVE2.1 quadword load/store intrisics:
      
        * Contiguous zero-extending load to quadword (single vector)
      
          sv<type>_t svld1uwq[_<typ>](svbool_t, const <type>_t *ptr);
          sv<type>_t svld1uwq_vnum[_<typ>](svbool_t, const <type> *ptr, int64_t vnum);
       
          sv<type>_t svld1udq[_<typ>](svbool_t, const <type>_t *ptr);
          sv<type>_t svld1udq_vnum[_<typ>](svbool_t, const <type>_t *ptr, int64_t vnum);
      
        * Contiguous truncating store of single vector operand
      
          void svst1uwq[_<typ>](svbool_t, const <type>_t *ptr, sv<type>_t data);
          void svst1uwq_vnum[_<typ>](svbool_t, const <type>_t *ptr, int64_t vnum, sv<type>_t data);
      
          void svst1udq[_<typ>](svbool_t, const <type>_t *ptr, sv<type>_t data);
          void svst1udq_vnum[_<typ>](svbool_t, const <type>_t *ptr, int64_t vnum, sv<type>_t data);
      
        * Gather load quadword
      
          sv<type>_t svld1q_gather[_u64base]_<typ>(svbool_t pg, svuint64_t zn);
          sv<type>_t svld1q_gather[_u64base]_offset_<typ>(svbool_t pg, svuint64_t zn, int64_t offset);
      
        * Scatter store quadword
      
          void svst1q_scatter[_u64base][_<typ>](svbool_t pg, svuint64_t zn, sv<type>_t data);
          void svst1q_scatter[_u64base]_offset[_<typ>](svbool_t pg, svuint64_t zn, int64_t offset, sv<type>_t data);
      
        * Contiguous load two, three or four quadword structures.
      
          sv<type>x2_t svld2q[_<typ>](svbool_t pg, const <type>_t *rn);
          sv<type>x2_t svld2q_vnum[_<typ>](svbool_t pg, const <type>_t *rn, uint64_t vnum);
          sv<type>x3_t svld3q[_<typ>](svbool_t pg, const <type>_t *rn);
          sv<type>x3_t svld3q_vnum[_<typ>](svbool_t pg, const <type>_t *rn, uint64_t vnum);
          sv<type>x4_t svld4q[_<typ>](svbool_t pg, const <type>_t *rn);
          sv<type>x4_t svld4q_vnum[_<typ>](svbool_t pg, const <type>_t *rn, uint64_t vnum);
      
        * Contiguous store two, three or four quadword structures.
      
          void svst2q[_<typ>](svbool_t pg, <type>_t *rn, sv<type>x2_t zt);
          void svst2q_vnum[_<typ>](svbool_t pg, <type>_t *rn, int64_t vnum, sv<type>x2_t zt);
          void svst3q[_<typ>](svbool_t pg, <type>_t *rn, sv<type>x3_t zt);
          void svst3q_vnum[_<typ>](svbool_t pg, <type>_t *rn, int64_t vnum, sv<type>x3_t zt);
          void svst4q[_<typ>](svbool_t pg, <type>_t *rn, sv<type>x4_t zt);
          void svst4q_vnum[_<typ>](svbool_t pg, <type>_t *rn, int64_t vnum, sv<type>x4_t zt);
      
      ACLE spec: https://github.com/ARM-software/acle/pull/257
      
      
      
      Co-authored-by: default avatarCaroline Concatto <caroline.concatto@arm.com>
      Co-authored-by: default avatarHassnaa Hamdi <hassnaa.hamdi@arm.com>
      f3358838
    • Nikita Popov's avatar
      [BasicAA] Optimize index size adjustment (NFC) · a3908d33
      Nikita Popov authored
      In most cases we do not actually have to perform an index size
      adjustment. Don't perform any APInt operations in that case.
      a3908d33