2011-05-27 19:38:10 +00:00
|
|
|
; 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(}
|
2011-05-27 20:16:57 +00:00
|
|
|
; 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(}
|
2011-05-27 19:38:10 +00:00
|
|
|
|