SuccessChanges

Summary

  1. [NFC] factor update test function test builder as a class (details)
  2. [IR, CodeGen] Use llvm::is_contained (NFC) (details)
  3. [GCN] Remove unused function handleNewInstruction (NFC) (details)
Commit ed1e565aaff6a2b6ad9064bcc58c50a46100a836 by mtrofin
[NFC] factor update test function test builder as a class

This allows us to have shared logic over multiple test runs, e.g. do we
have unused prefixes, or which function bodies have conflicting outputs
for a prefix appearing in different RUN lines.

This patch is just wrapping existing functionality, and replacing its uses.
A subsequent patch would then fold the current functionality into the newly
introduced class.

Differential Revision: https://reviews.llvm.org/D93413
The file was modifiedllvm/utils/UpdateTestChecks/asm.py
The file was modifiedllvm/utils/update_analyze_test_checks.py
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedllvm/utils/update_llc_test_checks.py
The file was modifiedllvm/utils/update_test_checks.py
The file was modifiedllvm/utils/UpdateTestChecks/common.py
Commit 5501b9295762ab824ae11cf64b33b16e314bb7d2 by kazu
[IR, CodeGen] Use llvm::is_contained (NFC)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/include/llvm/IR/DataLayout.h
Commit 4ad5b634f6834331c526d0a06ade34aa35670d52 by kazu
[GCN] Remove unused function handleNewInstruction (NFC)

The function was added without a user on Dec 22, 2016 in commit
7e274e02ae088923e67cd13b99d52644532ad1cc.  It seems to be unused since
then.
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp