1. Nov 20, 2020
  2. Nov 19, 2020
    • Mircea Trofin's avatar
      [FileCheck] Disallow unused prefixes in llvm/test/Analysis · f62fe0ee
      Mircea Trofin authored
      This is achieved through a substitution of FileCheck in lit.cfg.py,
      where we explicitly set -allow-unused-prefixes to false.
      
      We also introduce a %FileCheckWithUnusedPrefixes% substitution that can
      be used in those cases where we want to allow unused prefixes, even if
      the folder policy is to disallow them.
      
      Differential Revision: https://reviews.llvm.org/D91275
      f62fe0ee
    • diggerlin's avatar
      [AIX][XCOFF][Patch2] decode vector information and extent long table of the... · ab77fa51
      diggerlin authored
      [AIX][XCOFF][Patch2] decode vector information and extent long table of the traceback table of the xcoff.
      
      SUMMARY:
      
      1. decode the Vector extension if has_vec is set
      2. decode long table fields, if longtbtable is set.
      
      There is conflict on the bit order of HasVectorInfoMask and HasExtensionTableMask between AIX os header and IBM aix compiler XLC.
      In the /usr/include/sys/debug.h defines
      static constexpr uint32_t HasVectorInfoMask = 0x0040'0000;
      static constexpr uint32_t HasExtensionTableMask = 0x0080'0000;
      but the XLC defines as
      
      static constexpr uint32_t HasVectorInfoMask = 0x0080'0000;
      static constexpr uint32_t HasExtensionTableMask = 0x0040'0000;
      we follows the definition of the IBM AIX compiler XLC here.
      
      Reviewer: Jason Liu
      
      Differential Revision: https://reviews.llvm.org/D86461
      ab77fa51
    • ergawy's avatar
      [MLIR][SPIRV] ModuleCombiner: deduplicate global vars, spec consts, and funcs. · 341f3c11
      ergawy authored
      This commit extends the functionality of the SPIR-V module combiner
      library by adding new deduplication capabilities. In particular,
      implementation of deduplication of global variables and specialization
      constants, and functions is introduced.
      
      For global variables, 2 variables are considered duplicate if they either
      have the same descriptor set + binding or the same built_in attribute.
      
      For specialization constants, 2 spec constants are considered duplicate if
      they have the same spec_id attribute.
      
      2 functions are deduplicated if they are identical. 2 functions are
      identical if they have the same prototype, attributes, and body.
      
      Reviewed By: antiagainst
      
      Differential Revision: https://reviews.llvm.org/D90951
      341f3c11
    • ergawy's avatar
      [MLIR][SPIRV] Rename `spv._merge` to `spv.mlir.merge` · 9bd50abc
      ergawy authored
      This commit does the renaming mentioned in the title in order to bring
      'spv' dialect closer to the MLIR naming conventions.
      
      Reviewed By: antiagainst
      
      Differential Revision: https://reviews.llvm.org/D91797
      9bd50abc