1. Jan 26, 2022
    • Adrian Prantl's avatar
      Revert accidentally pushed commit. It was not yet reviewed. · 3efa016d
      Adrian Prantl authored
      "Fix UB in DwarfExpression::emitLegacyZExt()"
      
      This reverts commit e37de5d3.
      3efa016d
    • Adrian Prantl's avatar
      37ef303a
    • Adrian Prantl's avatar
      Fix UB in DwarfExpression::emitLegacyZExt() · e37de5d3
      Adrian Prantl authored
      A shift-left > 63 triggers a UBSAN failure. This patch kicks the can
      down the road (to the consumer) by emitting a more compact
      representation of the shift computation in DWARF expressions.
      
      Differential Revision: https://reviews.llvm.org/D118183
      e37de5d3
    • Nico Weber's avatar
    • Nico Weber's avatar
    • serge-sans-paille's avatar
      Fix build issue in assert mode introduced by 6427f4c5 · d65a3b32
      serge-sans-paille authored
      After 6427f4c5, one should use SortedCategories to check category
      validity.
      d65a3b32
    • Andrew Litteken's avatar
      [IRSim][IROutliner] Adding support for recognizing and outlining indirect... · f5f377d1
      Andrew Litteken authored
      [IRSim][IROutliner] Adding support for recognizing and outlining indirect function calls, and function calls with different names, but the same type
      
      The outliner currently requires that function calls not be indirect calls, and have that the function name, and function type must match, as well as other attributes such as calling conventions. This patch treats called functions as values, and just another operand, and named function calls as constants. This allows functions to be treated like any other constant, or input and output into the outlined functions.
      
      There are also debugging flags added to enforce the old behaviors where indirect calls not be allowed, and to enforce the old rule that function calls names must also match.
      
      Reviewers: paquette, jroelofs
      
      Differential Revision: https://reviews.llvm.org/D109448
      f5f377d1
    • Paweł Bylica's avatar
    • Ellis Hoag's avatar
      [InstrProf][Correlator] Do not compress names when reading debug info · f1705952
      Ellis Hoag authored
      There is no need to compress the names string when correlating with
      debug info since InstrProfReader will immediately uncompress it anyway.
      This also removes the dependency on zlib in this case.
      
      Reviewed By: kyulee
      
      Differential Revision: https://reviews.llvm.org/D118176
      f1705952
    • serge-sans-paille's avatar
    • serge-sans-paille's avatar
      Remove unused <algorithm> include · 5b55e733
      serge-sans-paille authored
      5b55e733
    • Fangrui Song's avatar
    • Louis Dionne's avatar
      [libc++][NFC] Fix typo · 7dc705f8
      Louis Dionne authored
      7dc705f8
    • Dávid Bolvanský's avatar
    • Tue Ly's avatar
      [libc] Make logf function correctly rounded for all rounding modes. · 82df72cc
      Tue Ly authored
      Make logf function correctly rounded for all rounding modes.
      
      Reviewed By: sivachandra, zimmermann6, santoshn, jpl169
      
      Differential Revision: https://reviews.llvm.org/D118149
      82df72cc
    • Aleksandr Platonov's avatar
      [analyzer] Don't specify PLUGIN_TOOL for analyzer plugins · 491c1546
      Aleksandr Platonov authored
      Analyzer plugins explicitly export clang_registerCheckers and clang_analyzerAPIVersionString symbols, so we don't need to specify a tool to link agains.
      
      Also, without this patch MSVC build fails with cmake flags -DLLVM_ENABLE_PLUGINS=On -DCLANG_PLUGINS_SUPPORT=On -DLLVM_EXPORT_SYMBOLS_FOR_PLUGINS=On
      ```
      [936/936] Linking CXX shared module bin\SampleAnalyzerPlugin.dll
      FAILED: bin/SampleAnalyzerPlugin.dll
      cmd.exe /C "cd . && "D:\Program Files\CMake\bin\cmake.exe" -E vs_link_dll --intdir=tools\clang\lib\Analysis\plugins\SampleAnalyzer\CMakeFiles\SampleAnalyzerPlugin.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~4\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\link.exe /nologo tools\clang\lib\Analysis\plugins\SampleAnalyzer\CMakeFiles\SampleAnalyzerPlugin.dir\MainCallChecker.cpp.obj  /out:bin\SampleAnalyzerPlugin.dll /implib:lib\SampleAnalyzerPlugin.lib /pdb:bin\SampleAnalyzerPlugin.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO  /DEF:"D:/work/llvm-project-original/build-plugins/tools/clang/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.def"  lib\clang.lib  lib\clangAnalysis.lib  lib\clangAST.lib  lib\clangStaticAnalyzerCore.lib  lib\clangStaticAnalyzerFrontend.lib  lib\clangStaticAnalyzerCheckers.lib  lib\clangStaticAnalyzerCore.lib  lib\clangCrossTU.lib  lib\clangIndex.lib  lib\clangFormat.lib  lib\clangToolingInclusions.lib  lib\clangFrontend.lib  lib\clangDriver.lib  version.lib  lib\clangParse.lib  lib\clangSerialization.lib  lib\clangSema.lib  lib\clangAnalysis.lib  lib\clangEdit.lib  lib\LLVMOption.lib  lib\clangToolingCore.lib  lib\clangRewrite.lib  lib\clangASTMatchers.lib  lib\clangAST.lib  lib\clangLex.lib  lib\clangBasic.lib  lib\LLVMFrontendOpenMP.lib  lib\LLVMScalarOpts.lib  lib\LLVMAggressiveInstCombine.lib  lib\LLVMInstCombine.lib  lib\LLVMTransformUtils.lib  lib\LLVMAnalysis.lib  lib\LLVMProfileData.lib  lib\LLVMDebugInfoDWARF.lib  lib\LLVMObject.lib  lib\LLVMBitReader.lib  lib\LLVMCore.lib  lib\LLVMRemarks.lib  lib\LLVMBitstreamReader.lib  lib\LLVMMCParser.lib  lib\LLVMMC.lib  lib\LLVMDebugInfoCodeView.lib  lib\LLVMTextAPI.lib  lib\LLVMBinaryFormat.lib  lib\LLVMSupport.lib  psapi.lib  shell32.lib  ole32.lib  uuid.lib  advapi32.lib  delayimp.lib  -delayload:shell32.dll  -delayload:ole32.dll  lib\LLVMDemangle.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
      LINK: command "C:\PROGRA~2\MICROS~4\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\link.exe /nologo tools\clang\lib\Analysis\plugins\SampleAnalyzer\CMakeFiles\SampleAnalyzerPlugin.dir\MainCallChecker.cpp.obj /out:bin\SampleAnalyzerPlugin.dll /implib:lib\SampleAnalyzerPlugin.lib /pdb:bin\SampleAnalyzerPlugin.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO /DEF:D:/work/llvm-project-original/build-plugins/tools/clang/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.def lib\clang.lib lib\clangAnalysis.lib lib\clangAST.lib lib\clangStaticAnalyzerCore.lib lib\clangStaticAnalyzerFrontend.lib lib\clangStaticAnalyzerCheckers.lib lib\clangStaticAnalyzerCore.lib lib\clangCrossTU.lib lib\clangIndex.lib lib\clangFormat.lib lib\clangToolingInclusions.lib lib\clangFrontend.lib lib\clangDriver.lib version.lib lib\clangParse.lib lib\clangSerialization.lib lib\clangSema.lib lib\clangAnalysis.lib lib\clangEdit.lib lib\LLVMOption.lib lib\clangToolingCore.lib lib\clangRewrite.lib lib\clangASTMatchers.lib lib\clangAST.lib lib\clangLex.lib lib\clangBasic.lib lib\LLVMFrontendOpenMP.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMTransformUtils.lib lib\LLVMAnalysis.lib lib\LLVMProfileData.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMObject.lib lib\LLVMBitReader.lib lib\LLVMCore.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMDebugInfoCodeView.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMSupport.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:bin\SampleAnalyzerPlugin.dll.manifest" failed (exit code 1169) with the following output:
      clangStaticAnalyzerCore.lib(BugReporter.cpp.obj) : error LNK2005: "public: __cdecl clang::ento::PathSensitiveBugReport::PathSensitiveBugReport(class clang::ento::BugType const &,class llvm::StringRef,class llvm::StringRef,class clang::ento::ExplodedNode const *,class clang::ento::PathDiagnosticLocation,class clang::Decl const *)" (??0PathSensitiveBugReport@ento@clang@@QEAA@AEBVBugType@12@VStringRef@llvm@@1PEBVExplodedNode@12@VPathDiagnosticLocation@12@PEBVDecl@2@@Z) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(BugReporter.cpp.obj) : error LNK2005: "private: virtual void __cdecl clang::ento::BugType::anchor(void)" (?anchor@BugType@ento@clang@@EEAAXXZ) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(SVals.cpp.obj) : error LNK2005: "public: class clang::FunctionDecl const * __cdecl clang::ento::SVal::getAsFunctionDecl(void)const " (?getAsFunctionDecl@SVal@ento@clang@@QEBAPEBVFunctionDecl@3@XZ) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(ProgramState.cpp.obj) : error LNK2005: "void __cdecl clang::ento::ProgramStateRelease(class clang::ento::ProgramState const *)" (?ProgramStateRelease@ento@clang@@YAXPEBVProgramState@12@@Z) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(ProgramState.cpp.obj) : error LNK2005: "void __cdecl clang::ento::ProgramStateRetain(class clang::ento::ProgramState const *)" (?ProgramStateRetain@ento@clang@@YAXPEBVProgramState@12@@Z) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(Environment.cpp.obj) : error LNK2005: "public: __cdecl clang::ento::EnvironmentEntry::EnvironmentEntry(class clang::Stmt const *,class clang::LocationContext const *)" (??0EnvironmentEntry@ento@clang@@QEAA@PEBVStmt@2@PEBVLocationContext@2@@Z) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(Environment.cpp.obj) : error LNK2005: "public: class clang::ento::SVal __cdecl clang::ento::Environment::getSVal(class clang::ento::EnvironmentEntry const &,class clang::ento::SValBuilder &)const " (?getSVal@Environment@ento@clang@@QEBA?AVSVal@23@AEBVEnvironmentEntry@23@AEAVSValBuilder@23@@Z) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(CheckerManager.cpp.obj) : error LNK2005: "public: void __cdecl clang::ento::CheckerManager::_registerForPreStmt(class clang::ento::CheckerFn<void __cdecl(class clang::Stmt const *,class clang::ento::CheckerContext &)>,bool (__cdecl*)(class clang::Stmt const *))" (?_registerForPreStmt@CheckerManager@ento@clang@@QEAAXV?$CheckerFn@$$A6AXPEBVStmt@clang@@AEAVCheckerContext@ento@2@@Z@23@P6A_NPEBVStmt@3@@Z@Z) already defined in clang.lib(clang.exe)
      clangStaticAnalyzerCore.lib(CoreEngine.cpp.obj) : error LNK2005: "protected: class clang::ento::ExplodedNode * __cdecl clang::ento::NodeBuilder::generateNodeImpl(class clang::ProgramPoint const &,class llvm::IntrusiveRefCntPtr<class clang::ento::ProgramState const >,class clang::ento::ExplodedNode *,bool)" (?generateNodeImpl@NodeBuilder@ento@clang@@IEAAPEAVExplodedNode@23@AEBVProgramPoint@3@V?$IntrusiveRefCntPtr@$$CBVProgramState@ento@clang@@@llvm@@PEAV423@_N@Z) already defined in clang.lib(clang.exe)
      LLVMSupport.lib(SmallVector.cpp.obj) : error LNK2005: "protected: void __cdecl llvm::SmallVectorBase<unsigned int>::grow_pod(void *,unsigned __int64,unsigned __int64)" (?grow_pod@?$SmallVectorBase@I@llvm@@IEAAXPEAX_K1@Z) already defined in clang.lib(clang.exe)
      LLVMSupport.lib(FoldingSet.cpp.obj) : error LNK2005: "protected: __cdecl llvm::FoldingSetBase::~FoldingSetBase(void)" (??1FoldingSetBase@llvm@@IEAA@XZ) already defined in clang.lib(clang.exe)
      clangAST.lib(ASTImporter.cpp.obj) : error LNK2005: "public: __cdecl clang::ASTImporter::ASTImporter(class clang::ASTContext &,class clang::FileManager &,class clang::ASTContext &,class clang::FileManager &,bool,class std::shared_ptr<class clang::ASTImporterSharedState>)" (??0ASTImporter@clang@@QEAA@AEAVASTContext@1@AEAVFileManager@1@01_NV?$shared_ptr@VASTImporterSharedState@clang@@@std@@@Z) already defined in clang.lib(clang.exe)
      clangAST.lib(ASTImporter.cpp.obj) : error LNK2005: "public: class llvm::Expected<class clang::Decl *> __cdecl clang::ASTImporter::Import(class clang::Decl *)" (?Import@ASTImporter@clang@@QEAA?AV?$Expected@PEAVDecl@clang@@@llvm@@PEAVDecl@2@@Z) already defined in clang.lib(clang.exe)
      clangAST.lib(ExternalASTSource.cpp.obj) : error LNK2005: "public: virtual __cdecl clang::ExternalASTSource::~ExternalASTSource(void)" (??1ExternalASTSource@clang@@UEAA@XZ) already defined in clang.lib(clang.exe)
      clangAST.lib(ExternalASTSource.cpp.obj) : error LNK2005: "public: virtual void __cdecl clang::ExternalASTSource::CompleteRedeclChain(class clang::Decl const *)" (?CompleteRedeclChain@ExternalASTSource@clang@@UEAAXPEBVDecl@2@@Z) already defined in clang.lib(clang.exe)
      clangAST.lib(ExternalASTSource.cpp.obj) : error LNK2005: "public: virtual void __cdecl clang::ExternalASTSource::CompleteType(class clang::ObjCInterfaceDecl *)" (?CompleteType@ExternalASTSource@clang@@UEAAXPEAVObjCInterfaceDecl@2@@Z) already defined in clang.lib(clang.exe)
      ...
      ```
      
      Reviewed By: aaron.ballman
      
      Differential Revision: https://reviews.llvm.org/D116966
      491c1546
    • Pavel Labath's avatar
      2a1b7aa0
    • Argyrios Kyrtzidis's avatar
      [cmake] Some NFC changes in preparation for accomodating `Ninja Multi-Config` · 2868e267
      Argyrios Kyrtzidis authored
      * Use `MATCHES` so that `Ninja Multi-Config` generator also satisfies the Ninja check
      * Pull out a couple of values into variables, inside `function(tablegen project ofn)`, NFC
      
      Differential Revision: https://reviews.llvm.org/D118100
      2868e267
    • MaheshRavishankar's avatar
      [mlir][Linalg] Add couple of convenience methods to `LinalgInterface`. · f3ab0ccd
      MaheshRavishankar authored
      Add methods to
      - Get block argument that is tied with an opOperand
      - Get the yield value that is tied with a output opOperand.
      
      Differential Revision: https://reviews.llvm.org/D118085
      f3ab0ccd
    • Yitzhak Mandelbaum's avatar
      [libTooling] Adds more support for constructing object access expressions. · 0944c196
      Yitzhak Mandelbaum authored
      This patch adds a `buildAccess` function, which constructs a string with the
      proper operator to use based on the expression's form and type. It also adds two
      predicates related to smart pointers, which are needed by `buildAccess` but are
      also of general value.
      
      We deprecate `buildDot` and `buildArrow` in favor of the more general
      `buildAccess`. These will be removed in a future patch.
      
      Differential Revision: https://reviews.llvm.org/D116377
      0944c196
    • MaheshRavishankar's avatar
      [mlir][Linalg] Fix incorrect fusion with reshape ops by linearization. · ea1ac183
      MaheshRavishankar authored
      Fusion of reshape ops by linearization incorrectly inverted the
      indexing map before linearizing dimensions. This leads to incorrect
      indexing maps used in the fused operation.
      
      Differential Revision: https://reviews.llvm.org/D117908
      ea1ac183
    • JackAKirk's avatar
      [CUDA,NVPTX] Corrected fragment size for tf32 LD B matrix. · 0ad19a83
      JackAKirk authored
      
      
      Signed-off-by: default avatarJackAKirk <jack.kirk@codeplay.com>
      
      Reviewed By: tra
      
      Differential Revision: https://reviews.llvm.org/D118023
      0ad19a83
    • Petr Hosek's avatar
      [CMake] Set sanitizer test C++ library on Linux · c39d22d1
      Petr Hosek authored
      We always want to use the in-tree libc++ for tests.
      
      Differential Revision: https://reviews.llvm.org/D118161
      c39d22d1
    • Andrew Litteken's avatar
      [IROutliner] Disallow outlining calls that return twice. · 4be86d18
      Andrew Litteken authored
      Functions that return twice can cause the IR Outliner to miscompile the given program. These function rely on information about the stack to be the same, and this may not necessarily be the case if called from an outlined function. So, we simply call these instructions illegal for the outliner to remove.
      
      Reviewers: paquette
      
      Differential Revision: https://reviews.llvm.org/D110007
      4be86d18
    • Ellis Hoag's avatar
      [InstrProf][correlation] Read DWARFv5 `OP_addrx` location · 9c2891a8
      Ellis Hoag authored
      Correctly read `OP_addrx` type encodings for DWARFv5 locations.
      
      Reviewed By: dblaikie
      
      Differential Revision: https://reviews.llvm.org/D118098
      9c2891a8
    • Mark de Wever's avatar
      [libc++][nfc] Update formatting of some tests. · ff8a4766
      Mark de Wever authored
      These tests were formatted with older clang-format settings, this
      updates them to the current settings.
      
      In order to implement P2216 a lot of changes to these tests are
      required. This makes it easier to review those patches.
      ff8a4766
    • David Tenty's avatar
      [compiler-rt][profile][AIX] pass extra link opts for test · a09be085
      David Tenty authored
      The AIX linker doesn't export any symbols by default, so an export list is usually used. Since clang doesn't have the tools to auto-generate an export list yet, just pass the linker an extra opt to tell it to export everything. This is  generally not recommended for real shared libs, but is fine for the purpose of this test.
      
      Differential Revision: https://reviews.llvm.org/D118101
      a09be085
    • Benjamin Kramer's avatar
      [Support] #include <new> for std::align_val_t · ce5b04cc
      Benjamin Kramer authored
      This is only used when aligned new is enabled.
      ce5b04cc
    • MaheshRavishankar's avatar
      [mlir][Linalg] Disallow ops with index semantics in `PushExpandingReshape`. · e5a315f5
      MaheshRavishankar authored
      This pattern is not written to handle operations with `linalg.index`
      operations in its body, i.e. operations that have index semantics.
      
      Differential Revision: https://reviews.llvm.org/D117856
      e5a315f5
    • Casey Carter's avatar
      [libcxx][test] Use bool allocators for vector<bool>::get_allocator test · 93230ac1
      Casey Carter authored
      ... to be consistent with other `get_allocator` tests, and to avoid requiring `vector<T, allocator<U>>` to be valid.
      93230ac1
    • Fangrui Song's avatar
      [ELF] Parallelize --compress-debug-sections=zlib · 4cdc4416
      Fangrui Song authored
      When linking a Debug build clang (265MiB SHF_ALLOC sections, 920MiB uncompressed
      debug info), in a --threads=1 link "Compress debug sections" takes 2/3 time and
      in a --threads=8 link "Compress debug sections" takes ~70% time.
      
      This patch splits a section into 1MiB shards and calls zlib `deflake` parallelly.
      
      DEFLATE blocks are a bit sequence. We need to ensure every shard starts
      at a byte boundary for concatenation. We use Z_SYNC_FLUSH for all shards
      but the last to flush the output to a byte boundary. (Z_FULL_FLUSH can
      be used as well, but Z_FULL_FLUSH clears the hash table which just
      wastes time.)
      
      The last block requires the BFINAL flag. We call deflate with Z_FINISH
      to set the flag as well as flush the output to a byte boundary. Under
      the hood, all of Z_SYNC_FLUSH, Z_FULL_FLUSH, and Z_FINISH emit a
      non-compressed block (called stored block in zlib). RFC1951 says "Any
      bits of input up to the next byte boundary are ignored."
      
      In a --threads=8 link, "Compress debug sections" is 5.7x as fast and the total
      speed is 2.54x. Because the hash table for one shard is not shared with the next
      shard, the output is slightly larger. Better compression ratio can be achieved
      by preloading the window size from the previous shard as dictionary
      (`deflateSetDictionary`), but that is overkill.
      
      ```
      # 1MiB shards
      % bloaty clang.new -- clang.old
          FILE SIZE        VM SIZE
       --------------  --------------
        +0.3%  +129Ki  [ = ]       0    .debug_str
        +0.1%  +105Ki  [ = ]       0    .debug_info
        +0.3%  +101Ki  [ = ]       0    .debug_line
        +0.2% +2.66Ki  [ = ]       0    .debug_abbrev
        +0.0% +1.19Ki  [ = ]       0    .debug_ranges
        +0.1%  +341Ki  [ = ]       0    TOTAL
      
      # 2MiB shards
      % bloaty clang.new -- clang.old
          FILE SIZE        VM SIZE
       --------------  --------------
        +0.2% +74.2Ki  [ = ]       0    .debug_line
        +0.1% +72.3Ki  [ = ]       0    .debug_str
        +0.0% +69.9Ki  [ = ]       0    .debug_info
        +0.1%    +976  [ = ]       0    .debug_abbrev
        +0.0%    +882  [ = ]       0    .debug_ranges
        +0.0%  +218Ki  [ = ]       0    TOTAL
      ```
      
      Bonus in not using zlib::compress
      
      * we can compress a debug section larger than 4GiB
      * peak memory usage is lower because for most shards the output size is less
        than 50% input size (all less than 55% for a large binary I tested, but
        decreasing the initial output size does not decrease memory usage)
      
      Reviewed By: ikudrin
      
      Differential Revision: https://reviews.llvm.org/D117853
      4cdc4416
    • serge-sans-paille's avatar
      Cleanup header dependencies of llvm/Support/Compiler.h · 4eb909c8
      serge-sans-paille authored
      <new> and <cstdef> were introduced in aa60b3fd but the dependency
      is now dead.
      
      As a consequence you may need to include <new> where you use it while it
      was auto-included as an implicit dependency before.
      
      The impact on the codebase is small, as <new> is a very small header
      (<100 SLOC) but it gets included everywhere, so that somehow counts (?)
      4eb909c8
    • Mark de Wever's avatar
      ee522345
    • eopXD's avatar
      [Clang][RISCV] Guard vmulh, vsmul correctly · 970a1912
      eopXD authored
      According to v-spec 1.0, `vmulh`, `vmulhu`, `vmulhsu` and `vsmul` are
      NOT supported for EEW=64 in Zve64*.
      
      This patch tries to guard it correctly.
      
      Authored by: Craig Topper <craig.topper@sifive.com> @craig.topper
      Co-Authored by: Eop Chen <eop.chen@sifive.com> @eopXD
      
      Reviewed By: craig.topper
      
      Differential Revision: https://reviews.llvm.org/D117913
      970a1912
    • David Green's avatar
      [AArch64] Add extra vecreduce.add tests, including extending reductions. NFC · c415ff18
      David Green authored
      This is all the reductions from i8 -> i64 with either sign or zero
      extensions.
      c415ff18
    • Zinovy Nis's avatar
      [clang-tidy] [bugprone-assert-side-effect] Ignore list for functions/methods · 19d7a0b4
      Zinovy Nis authored
      A semicolon-separated list of the names of functions or methods to be considered as not having side-effects was added for bugprone-assert-side-effect. It can be used to exclude methods like iterator::begin/end from being considered as having side-effects.
      
      Differential Revision: https://reviews.llvm.org/D116478
      19d7a0b4
    • Jonas Devlieghere's avatar
      c2cd7cc6
    • David Blaikie's avatar
      87e68cae
    • eopXD's avatar
      [RISCV] Don't allow i64 vector div by constant to use mulh with Zve64x · b089e407
      eopXD authored
      EEW=64 of mulh and its vairants requires V extension.
      
      Authored by: Craig Topper <craig.topper@sifive.com> @craig.topper
      
      Reviewed By: craig.topper
      
      Differential Revision: https://reviews.llvm.org/D117947
      b089e407
    • Steven Wan's avatar
      Disable Go binding test on AIX · 575c5d2a
      Steven Wan authored
      Disable the Go binding test on AIX because building the binding on AIX with Clang is currently unsupported.
      
      Reviewed By: ZarkoCA
      
      Differential Revision: https://reviews.llvm.org/D117505
      575c5d2a