[all-commits] [llvm/llvm-project] 4d788f: [PowerPC] Split tests for constrained intrinsics

Serge Pavlov via All-commits all-commits at lists.llvm.org
Mon May 31 22:31:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d788fb80ff3184089df435b45f29396119cc780
      https://github.com/llvm/llvm-project/commit/4d788fb80ff3184089df435b45f29396119cc780
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [PowerPC] Split tests for constrained intrinsics

The test CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll checks code
generation for constrained floating point intrinsics. Many test cases in
it were implemented using operations on constants. Constant folding of
constrained intrinsics would make these test cases almost useless,
because they would check only constant loading.

To keep the tests useful, operations on constants were replaced with
operations on function parameters.

Differential Revision: https://reviews.llvm.org/D103259




More information about the All-commits mailing list