summaryrefslogtreecommitdiff
path: root/test/Bitcode/sse42_crc32.ll
blob: 9b2fcffca8e88b938bd553b356c221f491870da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; Check to make sure old CRC32 intrinsics are auto-upgraded
; correctly.
;
; Rdar: 9472944
;
; RUN: llvm-dis < %s.bc | not grep {i32 @llvm.x86.sse42.crc32.8(}
; RUN: llvm-dis < %s.bc | grep {i32 @llvm.x86.sse42.crc32.32.8(}
; RUN: llvm-dis < %s.bc | not grep {i32 @llvm.x86.sse42.crc32.16(}
; RUN: llvm-dis < %s.bc | grep {i32 @llvm.x86.sse42.crc32.32.16(}
; RUN: llvm-dis < %s.bc | not grep {i32 @llvm.x86.sse42.crc32.32(}
; RUN: llvm-dis < %s.bc | grep {i32 @llvm.x86.sse42.crc32.32.32(}
; RUN: llvm-dis < %s.bc | not grep {i64 @llvm.x86.sse42.crc64.8(}
; RUN: llvm-dis < %s.bc | grep {i64 @llvm.x86.sse42.crc32.64.8(}
; RUN: llvm-dis < %s.bc | not grep {i64 @llvm.x86.sse42.crc64.64(}
; RUN: llvm-dis < %s.bc | grep {i64 @llvm.x86.sse42.crc32.64.64(}