[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)
commit01ba91e6af76c433d42ff55f8129ae5404b3b580
tree8ff60bc8eb762af542fdff40b407602ab8656936
parentd20a0fe2033c2b523a85f4b62dcf3ce5ad80e530
[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

llvm-svn: 367157
clang/test/CodeGen/avx512-reduceMinMaxIntrin.c
clang/test/CodeGen/avx512f-builtins.c
clang/test/CodeGen/avx512vl-builtins.c
clang/test/CodeGen/avx512vlbw-builtins.c