Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86    | grep mov | count 1
      2 ; RUN: llc < %s -march=x86-64 | grep mov | count 1
      3 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 | grep mov | count 1
      4 
      5 define zeroext i8 @foo() nounwind ssp {
      6 entry:
      7   %0 = tail call zeroext i16 (...) @bar() nounwind
      8   %1 = lshr i16 %0, 8
      9   %2 = trunc i16 %1 to i8
     10   ret i8 %2
     11 }
     12 
     13 declare zeroext i16 @bar(...)
     14