24 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=m68k-linux | FileCheck %s3 4; Function Attrs: norecurse nounwind readnone5define zeroext i1 @c_isspace(i32 %c) local_unnamed_addr #0 {6; CHECK-LABEL: c_isspace:7; CHECK: .cfi_startproc8; CHECK-NEXT: ; %bb.0: ; %entry9; CHECK-NEXT: move.l (4,%sp), %d110; CHECK-NEXT: add.l #-9, %d111; CHECK-NEXT: and.l #16777215, %d112; CHECK-NEXT: move.l #8388639, %d013; CHECK-NEXT: lsr.l %d1, %d014; CHECK-NEXT: and.l #1, %d015; CHECK-NEXT: rts16entry:17 %switch.tableidx = add i32 %c, -918 %switch.cast = trunc i32 %switch.tableidx to i2419 %switch.downshift = lshr i24 -8388577, %switch.cast20 %0 = and i24 %switch.downshift, 121 %switch.masked = icmp ne i24 %0, 022 ret i1 %switch.masked23}24