[PATCH] D103259: [PowerPC] Split tests for constrained intrinsics

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 08:42:37 PDT 2021


sepavloff created this revision.
sepavloff added reviewers: kpn, nemanjai, qiucf.
Herald added subscribers: steven.zhang, shchenz.
sepavloff requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103259

Files:
  llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103259.348285.patch
Type: text/x-patch
Size: 409535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210527/785f5bdc/attachment-0001.bin>


More information about the llvm-commits mailing list