Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. XFAIL NativePDB tests on arm-linux (details)
  2. Remove XFAIL arm-linux decorator from passing tests (details)
  3. [LLDB] Decorate tests failing on arm-linux buildbot (details)
  4. [DAGCombine] Remove the getNegatibleCost to avoid the out of sync with getNegatedExpression (details)
  5. [Attributor] Merge the query set into AbstractAttribute (details)
Commit 634b359cf223a83b27f2853887dde5e9680d8790 by omair.javaid
XFAIL NativePDB tests on arm-linux

NativePDB tests fail on arm-linux buildbot. clang-cl driver crashes with
-m32 option. Bug files
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/ast-functions.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/bitfields.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/global-classes.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/source-list.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/globals-bss.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/globals-fundamental.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/nested-types.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-classes.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/ast-methods.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/ast-types.cpp
Commit e179e7234ffedc7552e2729e76860cfab0dc103e by omair.javaid
Remove XFAIL arm-linux decorator from passing tests
The file was modifiedlldb/test/API/tools/lldb-server/
The file was modifiedlldb/test/API/commands/expression/ir-interpreter/
The file was modifiedlldb/test/API/linux/thread/create_during_instruction_step/
The file was modifiedlldb/test/API/linux/builtin_trap/
Commit 8e63f35f86bd9b8d014cd3488c09465bba34c1f7 by omair.javaid
[LLDB] Decorate tests failing on arm-linux buildbot

Tests impacted by these decorators fail on arm-linux-gnueabihf.

These have been triaged and appropriate bugs have been filed.
The file was modifiedlldb/test/API/lang/cpp/trivial_abi/
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_count/
The file was modifiedlldb/test/API/functionalities/return-value/
The file was modifiedlldb/test/API/commands/expression/rdar44436068/
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
Commit 3c44c441db0f8d7e210806b5b221cd9ed66f2d7b by qshanz
[DAGCombine] Remove the getNegatibleCost to avoid the out of sync with getNegatedExpression

We have the getNegatibleCost/getNegatedExpression to evaluate the cost and negate the expression.
However, during negating the expression, the cost might change as we are changing the DAG,
and then, hit the assertion if we negated the wrong expression as the cost is not trustful anymore.

This patch is target to remove the getNegatibleCost to avoid the out of sync with getNegatedExpression,
and check the cost during negating the expression. It also reduce the duplicated code between
getNegatibleCost and getNegatedExpression. And fix the crash for the test in D76638

Reviewed By: RKSimon, spatel

Differential Revision:
The file was modifiedllvm/test/CodeGen/X86/neg_fp.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 3a8740bdd5c48a5e870f62401e22c0dde503d624 by johannes
[Attributor] Merge the query set into AbstractAttribute

The old QuerriedAAs contained two vectors, one for required one for
optional dependences (=queries). We now use a single vector and encode
the kind directly in the pointer.

This reduces memory consumption and makes the connection between
abstract attributes and their dependences clearer.

No functional change is intended, changes in the test are due to
different order in the query map. Neither the order before nor now is in
any way special.


Single run of the Attributor module and then CGSCC pass (oldPM)
for SPASS/clause.c (~10k LLVM-IR loc):

calls to allocation functions: 543734 (329735/s)
temporary memory allocations: 105895 (64217/s)
peak heap memory consumption: 19.19MB
peak RSS (including heaptrack overhead): 102.26MB
total memory leaked: 269.10KB

calls to allocation functions: 513292 (341511/s)
temporary memory allocations: 106028 (70544/s)
peak heap memory consumption: 13.35MB
peak RSS (including heaptrack overhead): 95.64MB
total memory leaked: 269.10KB

calls to allocation functions: -30442 (208506/s)
temporary memory allocations: 133 (-910/s)
peak heap memory consumption: -5.84MB
peak RSS (including heaptrack overhead): 0B
total memory leaked: 0B


Reviewed By: uenoku

Differential Revision:
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll