[all-commits] [llvm/llvm-project] 3aecf4: [SandboxVec] Add barebones Region class. (#108899)

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Tue Sep 17 15:40:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3aecf41c2b384ab65a327db91632ff0c148df721
      https://github.com/llvm/llvm-project/commit/3aecf41c2b384ab65a327db91632ff0c148df721
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    A llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Region.h
    M llvm/lib/Transforms/Vectorize/CMakeLists.txt
    A llvm/lib/Transforms/Vectorize/SandboxVectorizer/Region.cpp
    M llvm/unittests/Transforms/Vectorize/SandboxVectorizer/CMakeLists.txt
    A llvm/unittests/Transforms/Vectorize/SandboxVectorizer/RegionTest.cpp

  Log Message:
  -----------
  [SandboxVec] Add barebones Region class. (#108899)

A region identifies a set of vector instructions generated by
vectorization passes. The vectorizer can then run a series of
RegionPasses on the region, evaluate the cost, and commit/reject the
transforms on a region-by-region basis, instead of an entire basic
block.

This is heavily based ov @vporpo's prototype. In particular, the doc
comment for the Region class is all his. The rest of this commit is
mostly boilerplate around a SetVector: getters, iterators, and some
debug helpers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list