xref: /llvm-project/llvm/test/CodeGen/X86/return_zeroext_i2.ll (revision b0e86ec814582f8577299c63d31f3d2513586ee2)
1; RUN: llc -mtriple=i386-pc-win32 < %s | FileCheck %s
2; Check that the testcase does not crash
3define zeroext i2 @crash () {
4  ret i2 0
5}
6; CHECK: xorl	%eax, %eax
7; CHECK-NEXT: retl
8