1 ; Check to make sure old CRC32 intrinsics are auto-upgraded
6 ; RUN: llvm-dis < %s.bc | FileCheck %s
8 ; crc32.8 should upgrade to crc32.32.8
9 ; CHECK: i32 @llvm.x86.sse42.crc32.32.8(
10 ; CHECK-NOT: i32 @llvm.x86.sse42.crc32.8(
12 ; crc32.16 should upgrade to crc32.32.16
13 ; CHECK: i32 @llvm.x86.sse42.crc32.32.16(
14 ; CHECK-NOT: i32 @llvm.x86.sse42.crc32.16(
16 ; crc32.32 should upgrade to crc32.32.32
17 ; CHECK: i32 @llvm.x86.sse42.crc32.32.32(
18 ; CHECK-NOT: i32 @llvm.x86.sse42.crc32.32(
20 ; crc64.8 should upgrade to crc32.64.8
21 ; CHECK: i64 @llvm.x86.sse42.crc32.64.8(
22 ; CHECK-NOT: i64 @llvm.x86.sse42.crc64.8(
24 ; crc64.64 should upgrade to crc32.64.64
25 ; CHECK: i64 @llvm.x86.sse42.crc32.64.64(
26 ; CHECK-NOT: i64 @llvm.x86.sse42.crc64.64(