64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
11 lines
222 B
LLVM
11 lines
222 B
LLVM
; RUN: llc < %s -mtriple=i686-unknown-linux-gnu | FileCheck %s
|
|
|
|
define signext i8 @foo(i16 signext %x) nounwind {
|
|
%retval56 = trunc i16 %x to i8
|
|
ret i8 %retval56
|
|
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: movb
|
|
; CHECK-NEXT: retl
|
|
}
|