[all-commits] [llvm/llvm-project] 97cb13: [Test] Separate IndVars test into AArch64 and X86 ...

Dmitry Makogon via All-commits all-commits at lists.llvm.org
Wed Nov 10 01:16:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97cb13615d6d9df254e3c0f3deef9eaedfe189b6
      https://github.com/llvm/llvm-project/commit/97cb13615d6d9df254e3c0f3deef9eaedfe189b6
  Author: Dmitry Makogon <d.makogon at g.nsu.ru>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    A llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg
    A llvm/test/Transforms/IndVarSimplify/AArch64/widen-loop-comp.ll
    A llvm/test/Transforms/IndVarSimplify/X86/eliminate-congruent-ivs.ll

  Log Message:
  -----------
  [Test] Separate IndVars test into AArch64 and X86 parts

The widen-loop-comp.ll in indvars has a target triple with
specified aarch64 architecture. This caused test failures with
db28934 "[IndVars] Pass TTI to replaceCongruentIVs" applied, because
with the patch indvars performed some target-specific
transforms, and for example if a build supported only X86,
then indvars would not have applied those transforms.
However, the checks in the test were generated as for aarch64.
Thus the test failures on such builds.

This patch separates widen-loop-comp.ll into two parts.
The first one is intended to be run only if a build supports aarch64.
This is now in AArch64 directory with a lit config.

The second one was added recently to show db28934 improvements.
This one is now in X86 directory.

This patch should resolve build issues caused by
5ec23863320ca12bfabb6dcff1d0425cb614b7a5.




More information about the All-commits mailing list