llvm.org GIT mirror llvm / 1bb48fa
[msan] Add missing attributes in MemorySanitizer tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212267 91177308-0d34-0410-b5e6-96231b3b80d8 Evgeniy Stepanov 5 years ago
3 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
650650 declare void @llvm.va_start(i8*) nounwind
651651
652652 ; Function Attrs: nounwind uwtable
653 define void @VAStart(i32 %x, ...) {
653 define void @VAStart(i32 %x, ...) sanitize_memory {
654654 entry:
655655 %x.addr = alloca i32, align 4
656656 %va = alloca [1 x %struct.__va_list_tag], align 16
1919 ; Function Attrs: nounwind readnone
2020 declare void @llvm.dbg.value(metadata, i64, metadata) #1
2121
22 attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
22 attributes #0 = { nounwind sanitize_memory "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
2323 attributes #1 = { nounwind readnone }
2424
2525 !llvm.dbg.cu = !{!0}
1212 declare <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64>, i32)
1313 declare <2 x i64> @llvm.x86.sse2.psll.dq.bs(<2 x i64>, i32)
1414
15 define i64 @test_mmx(i64 %x.coerce, i64 %y.coerce) {
15 define i64 @test_mmx(i64 %x.coerce, i64 %y.coerce) sanitize_memory {
1616 entry:
1717 %0 = bitcast i64 %x.coerce to <2 x i32>
1818 %1 = bitcast <2 x i32> %0 to x86_mmx
3434 ; CHECK: ret i64
3535
3636
37 define <8 x i16> @test_sse2_scalar(<8 x i16> %x, i32 %y) {
37 define <8 x i16> @test_sse2_scalar(<8 x i16> %x, i32 %y) sanitize_memory {
3838 entry:
3939 %0 = tail call <8 x i16> @llvm.x86.sse2.pslli.w(<8 x i16> %x, i32 %y)
4040 ret <8 x i16> %0
5050 ; CHECK: ret <8 x i16>
5151
5252
53 define <8 x i16> @test_sse2(<8 x i16> %x, <8 x i16> %y) {
53 define <8 x i16> @test_sse2(<8 x i16> %x, <8 x i16> %y) sanitize_memory {
5454 entry:
5555 %0 = tail call <8 x i16> @llvm.x86.sse2.psrl.w(<8 x i16> %x, <8 x i16> %y)
5656 ret <8 x i16> %0
7070
7171 ; Test variable shift (i.e. vector by vector).
7272
73 define <4 x i32> @test_avx2(<4 x i32> %x, <4 x i32> %y) {
73 define <4 x i32> @test_avx2(<4 x i32> %x, <4 x i32> %y) sanitize_memory {
7474 entry:
7575 %0 = tail call <4 x i32> @llvm.x86.avx2.psllv.d(<4 x i32> %x, <4 x i32> %y)
7676 ret <4 x i32> %0
8484 ; CHECK: = tail call <4 x i32> @llvm.x86.avx2.psllv.d(
8585 ; CHECK: ret <4 x i32>
8686
87 define <8 x i32> @test_avx2_256(<8 x i32> %x, <8 x i32> %y) {
87 define <8 x i32> @test_avx2_256(<8 x i32> %x, <8 x i32> %y) sanitize_memory {
8888 entry:
8989 %0 = tail call <8 x i32> @llvm.x86.avx2.psllv.d.256(<8 x i32> %x, <8 x i32> %y)
9090 ret <8 x i32> %0