Skip to content

Commit 68eda02

Browse files
committed
Add zero-idiom test
1 parent f10db27 commit 68eda02

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2+
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2 | FileCheck %s
3+
4+
5+
define { i64, i64 } @test_xor_int_two_returns() {
6+
; CHECK-LABEL: test_xor_int_two_returns:
7+
; CHECK: # %bb.0:
8+
; CHECK-NEXT: xorl %eax, %eax
9+
; CHECK-NEXT: xorl %edx, %edx
10+
; CHECK-NEXT: retq
11+
ret { i64, i64 } { i64 0, i64 0 }
12+
}

0 commit comments

Comments
 (0)