SuccessChanges

Summary

  1. [flang][openmp] Separate memory-order-clause parser creating OmpClause node (details)
  2. [NFC] Fix typo in atomic (details)
  3. [BasicAA] Remove some intermediate variables (NFC) (details)
  4. [BasicAA] Return DecomposedGEP (NFC) (details)
  5. [compiler-rt] [profile] Silence a warning about an unused function on mingw targets (details)
  6. [BasicAA] Remove unnecessary sextOrSelf (NFC) (details)
  7. [libunwind] Delete unused handlerNotFound in unwind_phase1 (details)
  8. Fix shared build. (details)
  9. [InstCombine] Use is_contained (NFC) (details)
Commit aa179d80990921486ec3e4f97d53522a4bb6cfad by clementval
[flang][openmp] Separate memory-order-clause parser creating OmpClause node

This patch introduce the separate parser for the memory-order-clause from the general
OmpClauseList. This parser still creates OmpClause node and therefore can use all the feature
from TableGen and the OmpStructureChecker.
This is applied only for the Flush construct in this patch and it should be applied for
atomic as well.

This is the approach we disscussed several time during the weekly call.

Reviewed By: kiranchandramohan, sameeranjoshi

Differential Revision: https://reviews.llvm.org/D91839
The file was modifiedflang/lib/Lower/OpenMP.cpp
The file was modifiedflang/test/Semantics/omp-clause-validity01.f90
The file was modifiedflang/lib/Semantics/check-omp-structure.cpp
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/lib/Semantics/check-omp-structure.h
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
Commit 952c9d3a91de351356336c4f84ff1a4d4090cc7b by clementval
[NFC] Fix typo in atomic
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
Commit f4412c5ae4eee0421801c9db905428bae1f7658b by nikita.ppv
[BasicAA] Remove some intermediate variables (NFC)

Use DecompGEP1.Offset instead of GEP1BaseOffset, etc. I found the
asymmetry of modifying DecompGEP1.VarIndices, but not modifying
DecompGEP1.Offset odd here.
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit 0d114f56d709792cc4230775c7da8a623d3a409a by nikita.ppv
[BasicAA] Return DecomposedGEP (NFC)

Instead of requiring the caller to initialize the DecomposedGEP
structure and then passing it in by reference, make
DecomposeGEPExpression() responsible for initializing and returning
the structure.
The file was modifiedllvm/include/llvm/Analysis/BasicAliasAnalysis.h
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit 33fb9679ec6e288bc72f2aa19c8ef1576b4c66b9 by martin
[compiler-rt] [profile] Silence a warning about an unused function on mingw targets

This function is only used within the ifdef below.

Differential Revision: https://reviews.llvm.org/D91850
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit ded5928866254ea08569aed946dd2a879464da48 by nikita.ppv
[BasicAA] Remove unnecessary sextOrSelf (NFC)

We are doing a sextOrTrunc directly afterwards, so this seems
useless. There is a multiplication in between, but truncating
before or after the multiplication should not make a difference.
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit 3324fd8a7b1ab011513017ed8fd81e06928526d5 by i
[libunwind] Delete unused handlerNotFound in unwind_phase1
The file was modifiedlibunwind/src/UnwindLevel1.c
Commit dcc06597b1d61d35c7246d3ab2d7a807134aaa45 by michael.hliao
Fix shared build.
The file was modifiedllvm/tools/llvm-profgen/CMakeLists.txt
Commit def7cfb7ffd40691f903287a060f4405bab56d1a by kazu
[InstCombine] Use is_contained (NFC)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp