]> granicus.if.org Git - clang/commit
[NewPM] Run avx*-builtins.c tests under the new pass manager only
authorLeonard Chan <leonardchan@google.com>
Fri, 26 Jul 2019 21:19:37 +0000 (21:19 +0000)
committerLeonard Chan <leonardchan@google.com>
Fri, 26 Jul 2019 21:19:37 +0000 (21:19 +0000)
commit8bcd05c1d96ba8d809485128a7a178c56a531d6e
tree077cf45718c2885dd1f5c80b128c18f991011aa4
parentf61f06ba02273079ed06280959224eb2870987b0
[NewPM] Run avx*-builtins.c tests under the new pass manager only

This patch changes the following tests to run under the new pass manager only:

```
Clang :: CodeGen/avx512-reduceMinMaxIntrin.c (1 of 4)
Clang :: CodeGen/avx512vl-builtins.c (2 of 4)
Clang :: CodeGen/avx512vlbw-builtins.c (3 of 4)
Clang :: CodeGen/avx512f-builtins.c (4 of 4)
```

The new PM added extra bitcasts that weren't checked before. For
reduceMinMaxIntrin.c, the issue was mostly the alloca's being in a different
order. Other changes involved extra bitcasts, and differently ordered loads and
stores, but the logic should still be the same.

Differential revision: https://reviews.llvm.org/D65110

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367157 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/avx512-reduceMinMaxIntrin.c
test/CodeGen/avx512f-builtins.c
test/CodeGen/avx512vl-builtins.c
test/CodeGen/avx512vlbw-builtins.c