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


  1. [flang]Semantics for SELECT RANK. (details)
Commit 332e6aea37a2777c06eb7d0960edf33b5869b0de by joshisameeran17
    [flang]Semantics for SELECT RANK.

    Initially on github I worked on semantic checks.Then I tried some compile-time
    test of the rank value, they were failing as there were no symbols
    generated for them inside SELECT RANK's scope.So I went further to
    add new symbol in each scope, also added the respective 'rank: '
    field for a symbol when we dump the symboltable. I added a field to
    keep track of the rank in AssocEntityDetails class.This caused shape
    analysis framework to become inconsistent. So shape analysis framework
    was updated to handle this new representation.

*   I added more tests for above changes.

*   On phabricator I addressed some minor changes.

*   Lastly I worked on review comments.

    Reviewers: klausler,sscalpone,DavidTruby,kiranchandramohan,tskeith,anchu-rajendran,kiranktp

    Reviewed By:klausler, DavidTruby, tskeith

    Subscribers:#flang-commits, #llvm-commits

    Tags: #flang, #llvm

    Differential Revision:
The file was modifiedflang/lib/Evaluate/shape.cpp
The file was modifiedflang/lib/Semantics/semantics.cpp
The file was modifiedflang/include/flang/Semantics/symbol.h
The file was addedflang/lib/Semantics/check-select-rank.cpp
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Semantics/symbol.cpp
The file was modifiedflang/include/flang/Evaluate/shape.h
The file was addedflang/lib/Semantics/check-select-rank.h
The file was modifiedflang/lib/Semantics/CMakeLists.txt
The file was addedflang/test/Semantics/select-rank.f90
The file was addedflang/test/Semantics/select-rank02.f90