[all-commits] [llvm/llvm-project] 8593c0: LoopVectorize/test: clean up reduction.ll; generat...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Thu Oct 12 07:45:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8593c0bc025bc6d0a413e9ee7702c9c2d365d5fb
      https://github.com/llvm/llvm-project/commit/8593c0bc025bc6d0a413e9ee7702c9c2d365d5fb
  Author: Ramkumar Ramachandra <Ramkumar.Ramachandra at imgtec.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/reduction.ll

  Log Message:
  -----------
  LoopVectorize/test: clean up reduction.ll; generate using UTC (NFC) (#68890)

The test reduction.ll was introduced before utils/update_test_checks.py,
and hence contains hand-written CHECK lines. Revisit the test today, and
modernize it by:

- Removing extranous attributes on functions and their arguments, as
LoopVectorize doesn't even look at these attributes.
- Removing the target datalayout, as it is not essential for
LoopVectorize.

Finally, regenerate the CHECK lines using update_test_checks.py,
eliminating hand-written error-prone CHECK lines.




More information about the All-commits mailing list