xref: /llvm-project/llvm/test/CodeGen/X86/2011-06-06-fgetsign80bit.ll (revision 6b898beb8e6bf5739d43c1d64646264afc595de8)
1; RUN: llc -mtriple=x86_64-- < %s
2define i32 @signbitl(x86_fp80 %x) nounwind uwtable readnone {
3entry:
4  %tmp4 = bitcast x86_fp80 %x to i80
5  %tmp4.lobit = lshr i80 %tmp4, 79
6  %tmp = trunc i80 %tmp4.lobit to i32
7  ret i32 %tmp
8}
9