1; Check that we don't insert unnecessary CC spills 2; 3; RUN: llc < %s -mtriple=s390x-linux-gnu 4 5declare signext i32 @f() 6 7define signext i32 @test(i32* %ptr) { 8; CHECK-NOT: ipm 9 10entry: 11 %0 = load i32, i32* %ptr, align 4 12 %tobool = icmp eq i32 %0, 0 13 %call = tail call signext i32 @f() 14 %1 = icmp slt i32 %call, 40 15 %2 = or i1 %tobool, %1 16 %retv = select i1 %2, i32 %call, i32 40 17 ret i32 %retv 18} 19 20