OSDN Git Service

[AVX-512] Remove masked pmovzx/pmovsx builtins and autoupgrade them to selects and...
authorCraig Topper <craig.topper@gmail.com>
Mon, 7 Nov 2016 02:12:57 +0000 (02:12 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 7 Nov 2016 02:12:57 +0000 (02:12 +0000)
commite69277c6bf17cd048d206b91f78e081c538f183d
treea9ae554ed97bdf97a70541fafea919236527b900
parentb4e2913ff8ec64aefc6e6bbc94bcc15d939b1354
[AVX-512] Remove masked pmovzx/pmovsx builtins and autoupgrade them to selects and native zext/sext.

This mostly reuses earlier autoupgrade support for the sse and avx equivalents. Just needed to add the code to add the select.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286092 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsX86.td
lib/IR/AutoUpgrade.cpp
lib/Target/X86/X86IntrinsicsInfo.h
test/CodeGen/X86/avx512-intrinsics-upgrade.ll
test/CodeGen/X86/avx512-intrinsics.ll
test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll
test/CodeGen/X86/avx512bw-intrinsics.ll
test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
test/CodeGen/X86/avx512bwvl-intrinsics.ll
test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
test/CodeGen/X86/avx512vl-intrinsics.ll