; RUN: llvm-as < %s | llc -march=x86 | grep {movsbl  .al, .eax}

@X = global i32 0               ; <i32*> [#uses=1]

define i8 @_Z3fooi(i32 %x) signext  {
entry:
        store i32 %x, i32* @X, align 4
        %retval67 = trunc i32 %x to i8          ; <i8> [#uses=1]
        ret i8 %retval67
}
; RUN: llvm-as < %s | llc -march=x86 | grep {movsbl}

@X = global i32 0               ; <i32*> [#uses=1]

define i8 @_Z3fooi(i32 %x) signext  {
entry:
        store i32 %x, i32* @X, align 4
        %retval67 = trunc i32 %x to i8          ; <i8> [#uses=1]
        ret i8 %retval67
}
Fix test so it passes.
Fix test so it passes.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@41012 91177308-0d34-0410-b5e6-96231b3b80d8
