1. Oct 25, 2021
  2. Oct 24, 2021
    • Groverkss's avatar
      [MLIR] FlatAffineValueConstraints: Fix bug in mergeSymbolIds · f5f59268
      Groverkss authored
      This patch fixes a bug in implementation `mergeSymbolIds` where symbol
      identifiers were not unique after merging them. Asserts for checking uniqueness
      before and after the merge are also added. The asserts checking uniqueness
      after the merge fail without the fix on existing test cases.
      
      Reviewed By: arjunp
      
      Differential Revision: https://reviews.llvm.org/D111958
      f5f59268
    • Nikita Popov's avatar
      2ae67c96
    • Sanjay Patel's avatar
      35c767a6
    • Sanjay Patel's avatar
      d34cad31
    • Kazu Hirata's avatar
      [TableGen] Use llvm::erase_value (NFC) · b33c2118
      Kazu Hirata authored
      b33c2118
    • Kazu Hirata's avatar
      Use StringRef::contains (NFC) · 4ba9d9c8
      Kazu Hirata authored
      4ba9d9c8
    • Sylvestre Ledru's avatar
      Add support of the next Ubuntu (Ubuntu 22.04 - Jammy Jellyfish) · a709787c
      Sylvestre Ledru authored
      It is going to be a LTS release
      a709787c
    • Simon Pilgrim's avatar
      [X86] findEltLoadSrc - fix shift amount variable name. NFCI. · b09f2ee5
      Simon Pilgrim authored
      Fix the copy + paste, renaming shift amt from Idx to Amt
      b09f2ee5
    • Nikita Popov's avatar
      [InstSimplify] Simplify fetching of index size (NFC) · 0c7f85d7
      Nikita Popov authored
      Directly fetch the size instead of going through the index type
      first.
      0c7f85d7
    • Balazs Benics's avatar
      Revert "[analyzer][solver] Introduce reasoning for not equal to operator" · f9db6a44
      Balazs Benics authored
      This reverts commit cac8808f.
      
       #5 0x00007f28ec629859 abort (/lib/x86_64-linux-gnu/libc.so.6+0x25859)
       #6 0x00007f28ec629729 (/lib/x86_64-linux-gnu/libc.so.6+0x25729)
       #7 0x00007f28ec63af36 (/lib/x86_64-linux-gnu/libc.so.6+0x36f36)
       #8 0x00007f28ecc2cc46 llvm::APInt::compareSigned(llvm::APInt const&) const (libLLVMSupport.so.14git+0xeac46)
       #9 0x00007f28e7bbf957 (anonymous namespace)::SymbolicRangeInferrer::VisitBinaryOperator(clang::ento::RangeSet, clang::BinaryOperatorKind, clang::ento::RangeSet, clang::QualType) (libclangStaticAnalyzerCore.so.14git+0x1df957)
       #10 0x00007f28e7bbf2db (anonymous namespace)::SymbolicRangeInferrer::infer(clang::ento::SymExpr const*) (libclangStaticAnalyzerCore.so.14git+0x1df2db)
       #11 0x00007f28e7bb2b5e (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) (libclangStaticAnalyzerCore.so.14git+0x1d2b5e)
       #12 0x00007f28e7bc67af clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::ento::SymExpr const*, bool) (libclangStaticAnalyzerCore.so.14git+0x1e67af)
       #13 0x00007f28e7be3578 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::ento::NonLoc, bool) (libclangStaticAnalyzerCore.so.14git+0x203578)
       #14 0x00007f28e7be33d8 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::ento::NonLoc, bool) (libclangStaticAnalyzerCore.so.14git+0x2033d8)
       #15 0x00007f28e7be32fb clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::ento::DefinedSVal, bool) (libclangStaticAnalyzerCore.so.14git+0x2032fb)
       #16 0x00007f28e7b15dbc clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::ento::DefinedSVal) (libclangStaticAnalyzerCore.so.14git+0x135dbc)
       #17 0x00007f28e7b4780f clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) (libclangStaticAnalyzerCore.so.14git+0x16780f)
      
      This is known to be triggered on curl, tinyxml2, tmux, twin and on xerces.
      But @bjope also reported similar crashes.
      So, I'm reverting it to make our internal bots happy again.
      
      Differential Revision: https://reviews.llvm.org/D106102
      f9db6a44
  3. Oct 23, 2021