1; RUN: llc -mtriple=aarch64-linux-gnu -verify-machineinstrs -o - %s 2 3; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB, 4; causing a crash during live range calc. 5define void @fp128_livein(i64 %a) { 6 %tobool = icmp ne i64 %a, 0 7 %conv = zext i1 %tobool to i32 8 %conv2 = sitofp i32 %conv to fp128 9 %conv6 = sitofp i32 %conv to double 10 %call3 = tail call i32 @g(fp128 %conv2) 11 %call8 = tail call i32 @h(double %conv6) 12 ret void 13} 14 15declare i32 @f() 16declare i32 @g(fp128) 17declare i32 @h(double) 18