SuccessChanges

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

Summary

  1. [gn build] (manually) port bba38de50c9 (details)
  2. [Matrix] Add matrix type to Clang. (details)
  3. [RISCV] Support Constant Pools in Load/Store Peephole (details)
  4. [AArch64][GlobalISel] Make LR livein to entry in llvm.returnaddress selection (details)
  5. [flang][NFC] Simplify semantics test scripts (details)
  6. [OpenMP][NFC] Fix `not` sustitution in tests (details)
  7. [FileCheck] Make invalid prefix diagnostics more precise (details)
  8. [FileCheck] Support comment directives (details)
  9. [VectorCombine] add tests for possible scalarization with extra uses; NFC (details)
Commit b51df268eb7e61bde28bd4c09618045b6b221b56 by thakis
[gn build] (manually) port bba38de50c9
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
Commit 10658691951f7e3ffd257f24e29e81a101daa204 by flo
[Matrix] Add matrix type to Clang.

This patch adds a matrix type to Clang as described in the draft
specification in clang/docs/MatrixSupport.rst. It introduces a new option
-fenable-matrix, which can be used to enable the matrix support.

The patch adds new MatrixType and DependentSizedMatrixType types along
with the plumbing required. Loads of and stores to pointers to matrix
values are lowered to memory operations on 1-D IR arrays. After loading,
the loaded values are cast to a vector. This ensures matrix values use
the alignment of the element type, instead of LLVM's large vector
alignment.

The operators and builtins described in the draft spec will will be added in
follow-up patches.

Reviewers: martong, rsmith, Bigcheese, anemet, dexonsmith, rjmccall, aaron.ballman

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D72281
The file was addedclang/test/CodeGen/debug-info-matrix-types.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Basic/TypeNodes.td
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was addedclang/test/Parser/matrix-type-disabled.c
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was addedclang/test/CodeGen/matrix-type.c
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was addedclang/test/CodeGenCXX/matrix-type.cpp
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/Features.def
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was addedclang/test/SemaCXX/matrix-type.cpp
The file was modifiedclang/include/clang/Serialization/TypeBitCodes.def
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/AST/TypeProperties.td
Commit 969e703427516cc9474920c4cf274fa5e7958462 by selliott
[RISCV] Support Constant Pools in Load/Store Peephole

Summary:
RISC-V uses a post-select peephole pass to optimise
`(load/store (ADDI $reg, %lo(addr)), 0)` into `(load/store $reg, %lo(addr))`.
This peephole wasn't firing for accesses to constant pools, which is how we
materialise most floating point constants.

This adds support for the constantpool case, which improves code generation for
lots of small FP loading examples. I have not added any tests because this
structure is well-covered by the `fp-imm.ll` testcases, as well as almost
all other uses of floating point constants in the RISC-V backend tests.

Reviewed By: luismarques, asb

Differential Revision: https://reviews.llvm.org/D79523
The file was modifiedllvm/test/CodeGen/RISCV/calling-conv-ilp32d.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-imm.ll
The file was modifiedllvm/test/CodeGen/RISCV/float-imm.ll
The file was modifiedllvm/test/CodeGen/RISCV/calling-conv-ilp32f-ilp32d-common.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-previous-failure.ll
The file was modifiedllvm/test/CodeGen/RISCV/fp-imm.ll
The file was modifiedllvm/test/CodeGen/RISCV/select-const.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/RISCV/codemodel-lowering.ll
Commit cd59458f27af9f441a8e3646e985ffb92700fba5 by Jessica Paquette
[AArch64][GlobalISel] Make LR livein to entry in llvm.returnaddress selection

This fixes a couple verifier failures on this bot:

http://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-aarch64-globalisel-O0-g/

The failures show up in eeprof-1.c and pr17377.c in the GCC C Torture Suite.

Specifically:

*** Bad machine code: MBB has allocatable live-in, but isn't entry or landing-pad. ***
- function:    foo
- basic block: %bb.3 if.end (0x7fac7106dfc8)
- p. register: $lr

and

*** Bad machine code: Using an undefined physical register ***
- function:    f
- basic block: %bb.1 entry (0x7f8941092588)
- instruction: %18:gpr64 = COPY $lr
- operand 1:   $lr

Unlike SDAG, we were setting LR as a live in to the block containing the
returnaddress.

Also, this ensures that we don't add LR as a livein to the entry block twice.
In MachineBasicBlock.h there's a comment saying

"Note that it is an error to add the same register to the same set more than
once unless the intention is to call sortUniqueLiveIns after all registers are
added."

so it's probably good to avoid adding LR twice.

Surprisingly the verifier doesn't complain about that. Maybe it should.

Differential Revision: https://reviews.llvm.org/D79657
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-returnaddress-liveins.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 99aa87a5b5371b3c06480e3ff99dcc4f2adf2c2a by tkeith
[flang][NFC] Simplify semantics test scripts

There were several different ways of handling the option to f18 to
find predefined modules:
- test_errors.sh was created by cmake substituting
  FLANG_INTRINSIC_MODULES_DIR into test_errors.sh.in
- some tests used the flang script which has the option built it
- some tests used %f18_with_includes which was replaced by the path
  to f18 plus the -I option
- some included -I../../include/flang in their run command

To make this more consistent, change %f18 to include the
-intrinsic-module-directory option and use it everywhere, including
to replace %flang and %f18_with_includes. This requires changing all
of the invocations of the test scripts to put %f18 at the end so that
it can expand to more than one argument.

This eliminates the need to generate test_errors.sh which means we
don't need flang/test/Semantics/CMakeLists.txt or the %B substitution.
That makes the test_errors.sh command like the others, replacing
%B/test/Semantics/test_errors.sh with %S/test_errors.sh.

Also remove the OPTIONS: functionality as custom options can be included
in the RUN: command. And remove -I/../../include/flang as that is now
always included.

Differential Revision: https://reviews.llvm.org/D79634
The file was modifiedflang/test/Semantics/doconcurrent02.f90
The file was modifiedflang/test/Semantics/dosemantics07.f90
The file was modifiedflang/test/Semantics/resolve07.f90
The file was modifiedflang/test/Semantics/canondo10.f90
The file was modifiedflang/test/Semantics/implicit03.f90
The file was modifiedflang/test/Semantics/modfile35.f90
The file was modifiedflang/test/Semantics/omp-symbol07.f90
The file was modifiedflang/test/Semantics/allocate05.f90
The file was modifiedflang/test/Semantics/modfile34.f90
The file was modifiedflang/test/Semantics/resolve34.f90
The file was modifiedflang/test/Semantics/doconcurrent06.f90
The file was modifiedflang/test/Semantics/modfile07.f90
The file was modifiedflang/test/Semantics/resolve68.f90
The file was modifiedflang/test/Semantics/resolve85.f90
The file was modifiedflang/test/Semantics/resolve72.f90
The file was modifiedflang/test/Semantics/call09.f90
The file was modifiedflang/test/Semantics/namelist01.f90
The file was modifiedflang/test/Semantics/resolve74.f90
The file was modifiedflang/test/Semantics/resolve89.f90
The file was modifiedflang/test/Semantics/modfile17.f90
The file was modifiedflang/test/Semantics/resolve19.f90
The file was modifiedflang/test/Semantics/modfile16.f90
The file was modifiedflang/test/Semantics/resolve81.f90
The file was modifiedflang/test/Semantics/io05.f90
The file was modifiedflang/test/Semantics/io06.f90
The file was modifiedflang/test/Semantics/resolve86.f90
The file was modifiedflang/test/Semantics/deallocate04.f90
The file was modifiedflang/test/Semantics/omp-atomic.f90
The file was modifiedflang/test/Semantics/procinterface01.f90
The file was modifiedflang/test/Semantics/label12.f90
The file was modifiedflang/test/Semantics/assign06.f90
The file was modifiedflang/test/Evaluate/test_folding.sh
The file was modifiedflang/test/Semantics/symbol16.f90
The file was modifiedflang/test/Semantics/modfile04.f90
The file was modifiedflang/test/Semantics/resolve23.f90
The file was modifiedflang/test/Semantics/allocate11.f90
The file was modifiedflang/test/Semantics/io08.f90
The file was modifiedflang/test/Semantics/critical03.f90
The file was modifiedflang/test/Semantics/resolve33.f90
The file was modifiedflang/test/Semantics/omp-resolve02.f90
The file was modifiedflang/test/Semantics/getsymbols02.f90
The file was modifiedflang/test/Semantics/modfile15.f90
The file was modifiedflang/test/Semantics/coarrays01.f90
The file was modifiedflang/test/Semantics/modfile10.f90
The file was modifiedflang/test/Semantics/symbol05.f90
The file was modifiedflang/test/Semantics/if_construct01.f90
The file was modifiedflang/test/Semantics/resolve31.f90
The file was modifiedflang/test/Semantics/allocate08.f90
The file was modifiedflang/test/Semantics/modfile32.f90
The file was modifiedflang/test/Semantics/symbol08.f90
The file was modifiedflang/test/Evaluate/folding09.f90
The file was modifiedflang/test/Semantics/nullify01.f90
The file was modifiedflang/test/Semantics/expr-errors02.f90
The file was modifiedflang/test/Semantics/symbol06.f90
The file was modifiedflang/test/Semantics/omp-symbol02.f90
The file was modifiedflang/test/Semantics/doconcurrent05.f90
The file was modifiedflang/test/Semantics/resolve27.f90
The file was modifiedflang/test/Semantics/modfile24.f90
The file was modifiedflang/test/Semantics/io01.f90
The file was modifiedflang/test/Semantics/stop01.f90
The file was modifiedflang/test/Evaluate/folding07.f90
The file was modifiedflang/test/Semantics/resolve40.f90
The file was modifiedflang/test/Semantics/modfile09.f90
The file was modifiedflang/test/Semantics/test_any.sh
The file was modifiedflang/test/Evaluate/folding04.f90
The file was modifiedflang/test/Semantics/int-literals.f90
The file was modifiedflang/test/Semantics/call14.f90
The file was modifiedflang/test/Semantics/select-rank02.f90
The file was modifiedflang/test/Semantics/assign01.f90
The file was modifiedflang/test/Semantics/canondo06.f90
The file was modifiedflang/test/Semantics/io03.f90
The file was modifiedflang/test/Semantics/label03.f90
The file was modifiedflang/test/Semantics/omp-declarative-directive.f90
The file was modifiedflang/test/Semantics/altreturn03.f90
The file was modifiedflang/test/Semantics/resolve66.f90
The file was modifiedflang/test/Semantics/structconst01.f90
The file was modifiedflang/test/Semantics/resolve54.f90
The file was modifiedflang/test/Semantics/resolve63.f90
The file was modifiedflang/test/Semantics/modfile11.f90
The file was modifiedflang/test/Semantics/allocate02.f90
The file was modifiedflang/test/Semantics/resolve56.f90
The file was modifiedflang/test/Semantics/resolve37.f90
The file was modifiedflang/test/Semantics/call05.f90
The file was modifiedflang/test/Semantics/getsymbols01.f90
The file was modifiedflang/test/Semantics/resolve77.f90
The file was modifiedflang/test/Semantics/deallocate05.f90
The file was modifiedflang/test/Semantics/label01.F90
The file was modifiedflang/test/Semantics/resolve09.f90
The file was modifiedflang/test/Semantics/blockconstruct03.f90
The file was modifiedflang/test/Semantics/resolve84.f90
The file was modifiedflang/test/Semantics/resolve52.f90
The file was modifiedflang/test/Semantics/modfile13.f90
The file was modifiedflang/test/Semantics/if_arith04.f90
The file was modifiedflang/test/Evaluate/folding06.f90
The file was modifiedflang/test/Semantics/resolve48.f90
The file was modifiedflang/test/Semantics/label05.f90
The file was modifiedflang/test/Semantics/resolve18.f90
The file was modifiedflang/test/Semantics/modfile28.f90
The file was addedflang/test/Semantics/test_errors.sh
The file was modifiedflang/test/Semantics/omp-device-constructs.f90
The file was modifiedflang/test/Semantics/canondo15.f90
The file was modifiedflang/test/Semantics/resolve11.f90
The file was modifiedflang/test/Semantics/resolve62.f90
The file was modifiedflang/test/Semantics/test_symbols.sh
The file was modifiedflang/test/Semantics/omp-symbol03.f90
The file was modifiedflang/test/Semantics/resolve06.f90
The file was modifiedflang/test/Semantics/resolve50.f90
The file was modifiedflang/test/Semantics/resolve57.f90
The file was modifiedflang/test/Semantics/resolve47.f90
The file was modifiedflang/test/Semantics/modfile12.f90
The file was modifiedflang/test/Semantics/if_stmt02.f90
The file was modifiedflang/test/Semantics/omp-loop-association.f90
The file was modifiedflang/test/Semantics/altreturn01.f90
The file was modifiedflang/test/Semantics/implicit04.f90
The file was modifiedflang/test/Semantics/dosemantics08.f90
The file was modifiedflang/test/Semantics/implicit08.f90
The file was modifiedflang/test/Semantics/data02.f90
The file was modifiedflang/test/Semantics/separate-mp02.f90
The file was modifiedflang/test/Semantics/blockconstruct01.f90
The file was modifiedflang/test/Semantics/label09.f90
The file was modifiedflang/test/Semantics/resolve88.f90
The file was modifiedflang/test/Semantics/data01.f90
The file was modifiedflang/test/Semantics/dosemantics04.f90
The file was modifiedflang/test/Semantics/canondo08.f90
The file was modifiedflang/test/Semantics/modfile20.f90
The file was modifiedflang/test/Semantics/symbol01.f90
The file was modifiedflang/test/Semantics/resolve59.f90
The file was modifiedflang/test/Semantics/c_f_pointer.f90
The file was modifiedflang/test/Semantics/canondo14.f90
The file was modifiedflang/test/Semantics/canondo12.f90
The file was modifiedflang/test/Semantics/critical01.f90
The file was modifiedflang/test/Semantics/resolve44.f90
The file was modifiedflang/test/Semantics/complex01.f90
The file was modifiedflang/test/Semantics/altreturn05.f90
The file was modifiedflang/test/Semantics/label14.f90
The file was modifiedflang/test/Semantics/symbol07.f90
The file was modifiedflang/test/Semantics/symbol13.f90
The file was modifiedflang/test/Semantics/resolve01.f90
The file was modifiedflang/test/Semantics/allocate07.f90
The file was modifiedflang/test/Semantics/getdefinition05.f90
The file was modifiedflang/test/Semantics/modfile03.f90
The file was modifiedflang/test/Semantics/resolve87.f90
The file was modifiedflang/test/Semantics/assign03.f90
The file was modifiedflang/test/Semantics/kinds03.f90
The file was modifiedflang/test/Semantics/resolve21.f90
The file was modifiedflang/test/Semantics/resolve79.f90
The file was removedflang/test/Semantics/test_errors.sh.in
The file was modifiedflang/test/Semantics/modfile25.f90
The file was modifiedflang/test/Semantics/entry01.f90
The file was modifiedflang/test/Semantics/omp-symbol08.f90
The file was modifiedflang/test/Semantics/assign04.f90
The file was modifiedflang/test/Semantics/modfile05.f90
The file was modifiedflang/test/Semantics/doconcurrent04.f90
The file was modifiedflang/test/Semantics/modfile18.f90
The file was modifiedflang/test/Semantics/implicit01.f90
The file was modifiedflang/test/Semantics/implicit05.f90
The file was modifiedflang/test/Semantics/resolve14.f90
The file was modifiedflang/test/Semantics/data03.f90
The file was modifiedflang/test/Semantics/dosemantics09.f90
The file was modifiedflang/test/Semantics/deallocate01.f90
The file was modifiedflang/test/Semantics/call15.f90
The file was modifiedflang/test/Semantics/resolve24.f90
The file was modifiedflang/test/Semantics/resolve25.f90
The file was modifiedflang/test/Semantics/block-data01.f90
The file was modifiedflang/test/Semantics/call04.f90
The file was modifiedflang/test/Semantics/call07.f90
The file was modifiedflang/test/Semantics/canondo16.f90
The file was modifiedflang/test/Semantics/resolve05.f90
The file was modifiedflang/test/Semantics/blockconstruct02.f90
The file was modifiedflang/test/Semantics/doconcurrent03.f90
The file was modifiedflang/test/Semantics/canondo11.f90
The file was modifiedflang/test/Semantics/modfile33.f90
The file was modifiedflang/test/Semantics/if_stmt03.f90
The file was modifiedflang/test/Semantics/symbol11.f90
The file was modifiedflang/test/Semantics/symbol10.f90
The file was modifiedflang/test/Semantics/resolve29.f90
The file was removedflang/test/Semantics/CMakeLists.txt
The file was modifiedflang/test/Semantics/dosemantics10.f90
The file was modifiedflang/test/Semantics/resolve61.f90
The file was modifiedflang/test/Semantics/resolve13.f90
The file was modifiedflang/test/Semantics/call01.f90
The file was modifiedflang/test/Semantics/modfile14.f90
The file was modifiedflang/test/Semantics/modfile30.f90
The file was modifiedflang/test/Semantics/computed-goto02.f90
The file was modifiedflang/test/Semantics/canondo19.f90
The file was modifiedflang/test/Semantics/resolve55.f90
The file was modifiedflang/test/Semantics/getsymbols03-a.f90
The file was modifiedflang/test/Evaluate/folding01.f90
The file was modifiedflang/test/Semantics/resolve53.f90
The file was modifiedflang/test/Semantics/resolve65.f90
The file was modifiedflang/test/Semantics/resolve16.f90
The file was modifiedflang/test/Semantics/canondo04.f90
The file was modifiedflang/test/Semantics/resolve28.f90
The file was modifiedflang/test/Semantics/kinds02.f90
The file was modifiedflang/test/Semantics/modfile22.f90
The file was modifiedflang/test/Semantics/kinds01.f90
The file was modifiedflang/test/Semantics/dosemantics11.f90
The file was modifiedflang/test/Semantics/if_arith02.f90
The file was modifiedflang/test/Semantics/resolve26.f90
The file was modifiedflang/test/Semantics/resolve32.f90
The file was modifiedflang/test/Semantics/label13.f90
The file was modifiedflang/test/Semantics/modfile26.f90
The file was modifiedflang/test/Semantics/resolve08.f90
The file was modifiedflang/test/Semantics/omp-symbol01.f90
The file was modifiedflang/test/Semantics/nullify02.f90
The file was modifiedflang/test/Semantics/implicit07.f90
The file was modifiedflang/test/Semantics/io02.f90
The file was modifiedflang/test/Semantics/resolve02.f90
The file was modifiedflang/test/Semantics/omp-symbol04.f90
The file was modifiedflang/test/Semantics/resolve45.f90
The file was modifiedflang/test/Semantics/resolve15.f90
The file was modifiedflang/test/Semantics/modfile19.f90
The file was modifiedflang/test/Semantics/modfile23.f90
The file was modifiedflang/test/Semantics/forall01.f90
The file was modifiedflang/test/Semantics/modfile08.f90
The file was modifiedflang/test/Semantics/resolve35.f90
The file was modifiedflang/test/Semantics/resolve76.f90
The file was modifiedflang/test/Semantics/label06.f90
The file was modifiedflang/test/Semantics/resolve20.f90
The file was modifiedflang/test/Semantics/common.sh
The file was modifiedflang/test/Semantics/implicit02.f90
The file was modifiedflang/test/Semantics/resolve22.f90
The file was modifiedflang/test/Semantics/call11.f90
The file was modifiedflang/test/Semantics/modfile31.f90
The file was modifiedflang/test/Semantics/dosemantics02.f90
The file was modifiedflang/test/Semantics/if_construct02.f90
The file was modifiedflang/test/Semantics/doconcurrent01.f90
The file was modifiedflang/test/Semantics/resolve49.f90
The file was modifiedflang/test/Semantics/label08.f90
The file was modifiedflang/test/Lower/pre-fir-tree04.f90
The file was modifiedflang/test/Semantics/canondo03.f90
The file was modifiedflang/test/Semantics/dosemantics05.f90
The file was modifiedflang/test/Semantics/canondo09.f90
The file was modifiedflang/test/Semantics/call06.f90
The file was modifiedflang/test/Semantics/implicit06.f90
The file was modifiedflang/test/Semantics/resolve67.f90
The file was modifiedflang/test/Semantics/call12.f90
The file was modifiedflang/test/Semantics/label04.f90
The file was modifiedflang/test/Semantics/allocate04.f90
The file was modifiedflang/test/Semantics/resolve83.f90
The file was modifiedflang/test/Semantics/dosemantics06.f90
The file was modifiedflang/test/Semantics/symbol02.f90
The file was modifiedflang/test/Semantics/kinds04.f90
The file was modifiedflang/test/Semantics/omp-nested01.f90
The file was modifiedflang/test/Semantics/modfile29.f90
The file was modifiedflang/test/Semantics/if_arith01.f90
The file was modifiedflang/test/Semantics/omp-symbol06.f90
The file was modifiedflang/test/Semantics/symbol03.f90
The file was modifiedflang/test/Semantics/resolve42.f90
The file was modifiedflang/test/Semantics/resolve70.f90
The file was modifiedflang/test/Semantics/resolve10.f90
The file was modifiedflang/test/Semantics/init01.f90
The file was modifiedflang/test/Semantics/symbol09.f90
The file was modifiedflang/test/Semantics/canondo01.f90
The file was modifiedflang/test/Semantics/resolve82.f90
The file was modifiedflang/test/Semantics/resolve30.f90
The file was modifiedflang/test/Semantics/if_stmt01.f90
The file was modifiedflang/test/Semantics/allocate10.f90
The file was modifiedflang/test/Semantics/canondo02.f90
The file was modifiedflang/test/Semantics/allocate12.f90
The file was modifiedflang/test/Semantics/allocate01.f90
The file was modifiedflang/test/Semantics/resolve78.f90
The file was modifiedflang/test/Evaluate/folding03.f90
The file was modifiedflang/test/Semantics/resolve58.f90
The file was modifiedflang/test/Semantics/altreturn04.f90
The file was modifiedflang/test/Semantics/resolve73.f90
The file was modifiedflang/test/Semantics/symbol15.f90
The file was modifiedflang/test/Semantics/modfile01.f90
The file was modifiedflang/test/Semantics/expr-errors01.f90
The file was modifiedflang/test/Semantics/critical02.f90
The file was modifiedflang/test/Semantics/resolve69.f90
The file was modifiedflang/test/Semantics/omp-clause-validity01.f90
The file was modifiedflang/test/Semantics/structconst02.f90
The file was modifiedflang/test/Semantics/doconcurrent08.f90
The file was modifiedflang/test/Semantics/altreturn02.f90
The file was modifiedflang/test/Semantics/dosemantics12.f90
The file was modifiedflang/test/Semantics/label10.f90
The file was modifiedflang/test/Semantics/omp-resolve04.f90
The file was modifiedflang/test/Semantics/allocate13.f90
The file was modifiedflang/test/Semantics/modfile06.f90
The file was modifiedflang/test/Semantics/resolve75.f90
The file was modifiedflang/test/Semantics/resolve03.f90
The file was modifiedflang/test/Semantics/omp-combined-constructs.f90
The file was modifiedflang/test/Semantics/io10.f90
The file was modifiedflang/test/Semantics/omp-resolve03.f90
The file was modifiedflang/test/Semantics/getdefinition02.f
The file was modifiedflang/test/Semantics/io09.f90
The file was modifiedflang/test/Semantics/resolve51.f90
The file was modifiedflang/test/Semantics/case01.f90
The file was modifiedflang/test/Semantics/resolve12.f90
The file was modifiedflang/test/Semantics/canondo13.f90
The file was modifiedflang/test/Semantics/resolve71.f90
The file was modifiedflang/test/Semantics/test_modfile.sh
The file was modifiedflang/test/Semantics/canondo17.f90
The file was modifiedflang/test/lit.cfg.py
The file was modifiedflang/test/Semantics/resolve39.f90
The file was modifiedflang/test/Semantics/label02.f90
The file was modifiedflang/test/CMakeLists.txt
The file was modifiedflang/test/Semantics/symbol14.f90
The file was modifiedflang/test/Semantics/io07.f90
The file was modifiedflang/test/Semantics/structconst03.f90
The file was modifiedflang/test/Semantics/allocate09.f90
The file was modifiedflang/test/Semantics/call08.f90
The file was modifiedflang/test/Semantics/resolve46.f90
The file was modifiedflang/test/Semantics/if_arith03.f90
The file was modifiedflang/test/Semantics/resolve43.f90
The file was modifiedflang/test/Semantics/canondo05.f90
The file was modifiedflang/test/Semantics/dosemantics01.f90
The file was modifiedflang/test/Semantics/modfile21.f90
The file was modifiedflang/test/Semantics/call03.f90
The file was modifiedflang/test/Semantics/modfile02.f90
The file was modifiedflang/test/Semantics/resolve64.f90
The file was modifiedflang/test/Semantics/call13.f90
The file was modifiedflang/test/Semantics/omp-symbol05.f90
The file was modifiedflang/test/Semantics/bad-forward-type.f90
The file was modifiedflang/test/Semantics/bindings01.f90
The file was modifiedflang/test/Semantics/getsymbols04.f90
The file was modifiedflang/test/Semantics/doconcurrent07.f90
The file was modifiedflang/test/Semantics/resolve60.f90
The file was modifiedflang/test/Semantics/critical04.f90
The file was modifiedflang/test/Semantics/resolve36.f90
The file was modifiedflang/test/Semantics/canondo18.f90
The file was modifiedflang/test/Semantics/resolve04.f90
The file was modifiedflang/test/Semantics/getsymbols05.f90
The file was modifiedflang/test/Semantics/symbol12.f90
The file was modifiedflang/test/Semantics/symbol17.f90
The file was modifiedflang/test/Semantics/select-rank.f90
The file was modifiedflang/test/Semantics/omp-resolve05.f90
The file was modifiedflang/test/Semantics/label11.f90
The file was modifiedflang/test/Semantics/structconst04.f90
The file was modifiedflang/test/Semantics/dosemantics03.f90
The file was modifiedflang/test/Evaluate/folding02.f90
The file was modifiedflang/test/Semantics/canondo07.f90
The file was modifiedflang/test/Semantics/resolve38.f90
The file was modifiedflang/test/Semantics/separate-mp01.f90
The file was modifiedflang/test/Semantics/getdefinition03-a.f90
The file was modifiedflang/test/Semantics/assign07.f90
The file was modifiedflang/test/Semantics/io04.f90
The file was modifiedflang/test/Semantics/label07.f90
The file was modifiedflang/test/Semantics/null01.f90
The file was modifiedflang/test/Evaluate/folding05.f90
The file was modifiedflang/test/Semantics/computed-goto01.f90
The file was modifiedflang/test/Semantics/resolve80.f90
The file was modifiedflang/test/Semantics/getdefinition01.f90
The file was modifiedflang/test/Semantics/omp-resolve01.f90
The file was modifiedflang/test/Semantics/assign02.f90
The file was modifiedflang/test/Semantics/allocate06.f90
The file was modifiedflang/test/Semantics/misc-declarations.f90
The file was modifiedflang/test/Semantics/resolve17.f90
The file was modifiedflang/test/Semantics/modfile27.f90
The file was modifiedflang/test/Semantics/call02.f90
The file was modifiedflang/test/Semantics/getdefinition04.f90
The file was modifiedflang/test/Evaluate/folding08.f90
The file was modifiedflang/test/Semantics/equivalence01.f90
The file was modifiedflang/test/Semantics/allocate03.f90
The file was modifiedflang/test/Semantics/call10.f90
The file was modifiedflang/test/Semantics/resolve41.f90
Commit dd5ba4b5850756c9eb715c5eb5d7f46bb4db33af by jdenny.ornl
[OpenMP][NFC] Fix `not` sustitution in tests

D78566 introduced a `\bnot\b` lit substitution in OpenMP test suites.
However, that would corrupt a command like
`FileCheck -implicit-check-not` or any file name like `%t.not`.  We
could use lookbehind/lookahead assertions to avoid such cases, but
this patch switches to `%not` (suggested during the D78566 review) as
a safer option.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D79529
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg
The file was modifiedopenmp/runtime/test/lit.cfg
The file was modifiedopenmp/tools/archer/tests/lit.cfg
The file was modifiedopenmp/libomptarget/test/lit.cfg
Commit a78e13745d4ee4a42e41ebbe698159f651515fc5 by jdenny.ornl
[FileCheck] Make invalid prefix diagnostics more precise

This will prove especially helpful after D79276, which introduces
comment prefixes.  Specifically, identifying whether there's a
uniqueness violation will be helpful as prefixes will be required to
be unique across both check prefixes and comment prefixes.

Also, remove a related comment about `cl::list` that no longer seems
relevant now that FileCheck is also a library.

Reviewed By: jhenderson, thopre

Differential Revision: https://reviews.llvm.org/D79375
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/lib/Support/FileCheck.cpp
Commit 9a9a5f9893c8db05cebc8818eb8485bff61f7c74 by jdenny.ornl
[FileCheck] Support comment directives

Sometimes you want to disable a FileCheck directive without removing
it entirely, or you want to write comments that mention a directive by
name.  The `COM:` directive makes it easy to do this.  For example,
you might have:

```
; X32: pinsrd_1:
; X32:    pinsrd $1, 4(%esp), %xmm0

; COM: FIXME: X64 isn't working correctly yet for this part of codegen, but
; COM: X64 will have something similar to X32:
; COM:
; COM:   X64: pinsrd_1:
; COM:   X64:    pinsrd $1, %edi, %xmm0
```

Without this patch, you need to use some combination of rewording and
directive syntax mangling to prevent FileCheck from recognizing the
commented occurrences of `X32:` and `X64:` above as directives.
Moreover, FileCheck diagnostics have been proposed that might complain
about the occurrences of `X64` that don't have the trailing `:`
because they look like directive typos:

  <http://lists.llvm.org/pipermail/llvm-dev/2020-April/140610.html>

I think dodging all these problems can prove tedious for test authors,
and directive syntax mangling already makes the purpose of existing
test code unclear.  `COM:` can avoid all these problems.

This patch also updates the small set of existing tests that define
`COM` as a check prefix:

- clang/test/CodeGen/default-address-space.c
- clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
- clang/test/Driver/hip-device-libs.hip
- llvm/test/Assembler/drop-debug-info-nonzero-alloca.ll

I think lit should support `COM:` as well.  Perhaps `clang -verify`
should too.

Reviewed By: jhenderson, thopre

Differential Revision: https://reviews.llvm.org/D79276
The file was addedllvm/test/FileCheck/comment/suppresses-checks.txt
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was addedllvm/test/FileCheck/comment/blank-comments.txt
The file was modifiedllvm/test/FileCheck/first-character-match.txt
The file was addedllvm/test/FileCheck/comment/after-words.txt
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was addedllvm/test/FileCheck/comment/unused-check-prefixes.txt
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was addedllvm/test/FileCheck/comment/bad-comment-prefix.txt
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was addedllvm/test/FileCheck/comment/unused-comment-prefixes.txt
The file was addedllvm/test/FileCheck/comment/within-checks.txt
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was addedllvm/test/FileCheck/comment/suffixes.txt
The file was modifiedllvm/test/Assembler/drop-debug-info-nonzero-alloca.ll
Commit 7c480c438510e9334f372ab39f9f3f51143542a6 by spatel
[VectorCombine] add tests for possible scalarization with extra uses; NFC
The file was modifiedllvm/test/Transforms/VectorCombine/X86/insert-binop.ll