mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
eea61866d5
Since the behaviour is now different between Darwin and non-Darwin, more triples are needed :-/ llvm-svn: 261238
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
|
|
}
|