1 ; Check to make sure old CRC32 intrinsics are auto-upgraded 2 ; correctly. 3 ; 4 ; Rdar: 9472944 5 ; 6 ; RUN: llvm-dis < %s.bc | FileCheck %s 7 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( 11 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( 15 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( 19 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( 23 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( 27 28 29