llvm-6502/test/CodeGen/X86/return_zeroext_i2.ll

8 lines
183 B
LLVM
Raw Normal View History

; RUN: llc -mtriple=i386-pc-win32 < %s | FileCheck %s
; Check that the testcase does not crash
define zeroext i2 @crash () {
ret i2 0
}
; CHECK: xorl %eax, %eax
; CHECK-NEXT: retl