1. Nov 09, 2017
    • Adrian Prantl's avatar
      Handle inlined variables in SelectionDAGBuilder::EmitFuncArgumentDbgValue(). · 93faeecd
      Adrian Prantl authored
      In 2010 a commit with no testcase and no further explanation
      explicitly disabled the handling of inlined variables in
      EmitFuncArgumentDbgValue(). I don't think there is a good reason for
      this any more and re-enabling this adds debug locations for variables
      associated with an LLVM function argument in functions that are
      inlined into the first basic block. The only downside of doing this is
      that we may insert a DBG_VALUE before the inlined scope, but (1) this
      could be filtered out later, and (2) LiveDebugValues will not
      propagate it into subsequent basic blocks if they don't dominate the
      variable's lexical scope, so this seems like a small price to pay.
      
      rdar://problem/26228128
      
      llvm-svn: 317702
      93faeecd
    • Artem Dergachev's avatar
      [analyzer] Fix a crash on logical operators with vectors. · 5904fba8
      Artem Dergachev authored
      Do not crash when trying to compute x && y or x || y where x and y are
      of a vector type.
      
      For now we do not seem to properly model operations with vectors. In particular,
      operations && and || on a pair of vectors are not short-circuit, unlike regular
      logical operators, so even our CFG is incorrect.
      
      Avoid the crash, add respective FIXME tests for later.
      
      Differential Revision: https://reviews.llvm.org/D39682
      
      rdar://problem/34317663
      
      llvm-svn: 317700
      5904fba8
    • Kostya Kortchinsky's avatar
      [sanitizer] Add Scudo to the sanitizer lint checks. · 6edadae3
      Kostya Kortchinsky authored
      Summary:
      Scudo abides by the coding style enforced by the sanitizer_common
      linter, but as of right now, it's not linter-enforced.
      
      Add Scudo to the list of directories checked by check_lint.sh.
      
      Also: fixes some linter errors found after getting this running.
      
      Reviewers: cryptoad
      
      Reviewed By: cryptoad
      
      Subscribers: llvm-commits, kubamracek
      
      Differential Revision: https://reviews.llvm.org/D39757
      
      llvm-svn: 317699
      6edadae3
    • Simon Pilgrim's avatar
      [X86] Add some initial scheduling tests for generic x86 instructions · 1c1fd159
      Simon Pilgrim authored
      These will be using inline asm to ensure we have coverage that we're unlikely to get from lowering of basic ir.
      
      Currently waiting for D39728 to land to add support for scheduler comments for inline asm.
      
      llvm-svn: 317698
      1c1fd159
  2. Nov 08, 2017