brintos

brintos / llvm-project-archived public Read only

0
0
Text · 886 B · 24ecdad Raw
32 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=arm-- -mcpu=cortex-a8 | FileCheck %s3 4; Check that the peepholer removes dead instructions:5;6;   vmov s0, r07;   vmov r0, s08 9define void @t(float %x) nounwind ssp {10; CHECK-LABEL: t:11; CHECK:       @ %bb.0: @ %entry12; CHECK-NEXT:    movw r1, #6553413; CHECK-NEXT:    movt r1, #3263914; CHECK-NEXT:    cmp r0, r115; CHECK-NEXT:    bxhi lr16; CHECK-NEXT:  .LBB0_1: @ %if.then17; CHECK-NEXT:    b doSomething18entry:19  %0 = bitcast float %x to i3220  %cmp = icmp ult i32 %0, 213909503921  br i1 %cmp, label %if.then, label %if.end22 23if.then:                                          ; preds = %entry24  tail call void @doSomething(float %x) nounwind25  br label %if.end26 27if.end:                                           ; preds = %if.then, %entry28  ret void29}30 31declare void @doSomething(float)32