llvm.org GIT mirror llvm / 5b05711 test / CodeGen / X86 / return_zeroext_i2.ll
5b05711

Tree @5b05711 (Download .tar.gz)

return_zeroext_i2.ll @5b05711raw · history · blame

1
2
3
4
5
6
7
; 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