llvm.org GIT mirror llvm / 111877d
[msan] Temporarily remove ICmpEQ tests. They are failing on the bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172540 91177308-0d34-0410-b5e6-96231b3b80d8 Evgeniy Stepanov 6 years ago
1 changed file(s) with 0 addition(s) and 54 deletion(s). Raw diff Collapse all Expand all
377377 ; CHECK: ret <2 x i1>
378378
379379
380 ; Check that we propagate shadow for x == y comparison.
381 ; This is a bit complex. See the comment in handleEqualityComparison.
382
383 define i1 @ICmpEQ(i32 %x, i32 %y) nounwind uwtable readnone {
384 %1 = icmp eq i32 %x, %y
385 ret i1 %1
386 }
387
388 ; CHECK: @ICmpEQ
389 ; CHECK: xor i32 %x, %y
390 ; CHECK: or i32
391 ; CHECK: xor i32
392 ; CHECK: and i32
393 ; CHECK: icmp eq i32
394 ; CHECK: icmp ne i32
395 ; CHECK: and i1
396 ; CHECK: icmp eq i32 %x, %y
397 ; CHECK: ret i1
398
399 define <2 x i1> @ICmpEQ_vector(<2 x i32> %x, <2 x i32> %y) nounwind uwtable readnone {
400 %1 = icmp eq <2 x i32> %x, %y
401 ret <2 x i1> %1
402 }
403
404 ; CHECK: @ICmpEQ_vector
405 ; CHECK: xor <2 x i32> %x, %y
406 ; CHECK: or <2 x i32>
407 ; CHECK: xor <2 x i32>
408 ; CHECK: and <2 x i32>
409 ; CHECK: icmp eq <2 x i32>
410 ; CHECK: icmp ne <2 x i32>
411 ; CHECK: and <2 x i1>
412 ; CHECK: icmp eq <2 x i32> %x, %y
413 ; CHECK: ret <2 x i1>
414
415 define <2 x i1> @ICmpEQ_pointer_vector(<2 x i32*> %x, <2 x i32*> %y) nounwind uwtable readnone {
416 %1 = icmp eq <2 x i32*> %x, %y
417 ret <2 x i1> %1
418 }
419
420 ; CHECK: @ICmpEQ_pointer_vector
421 ; CHECK: ptrtoint <2 x i32*> %x to <2 x i64>
422 ; CHECK: ptrtoint <2 x i32*> %y to <2 x i64>
423 ; CHECK: xor <2 x i64>
424 ; CHECK: or <2 x i64>
425 ; CHECK: xor <2 x i64>
426 ; CHECK: and <2 x i64>
427 ; CHECK: icmp eq <2 x i64>
428 ; CHECK: icmp ne <2 x i64>
429 ; CHECK: and <2 x i1>
430 ; CHECK: icmp eq <2 x i32*> %x, %y
431 ; CHECK: ret <2 x i1>
432
433
434380 ; Check that loads of shadow have the same aligment as the original loads.
435381 ; Check that loads of origin have the aligment of max(4, original alignment).
436382