From f194b0edc926125270d65f633910036108549772 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Mon, 8 Jun 2009 22:54:15 +0000 Subject: [PATCH] Add testcase for register scanveger assertion fix in r72755 (double def due to livevars) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73096 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/arguments_f64_backfill.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/ARM/arguments_f64_backfill.ll diff --git a/test/CodeGen/ARM/arguments_f64_backfill.ll b/test/CodeGen/ARM/arguments_f64_backfill.ll new file mode 100644 index 00000000000..07d928abe81 --- /dev/null +++ b/test/CodeGen/ARM/arguments_f64_backfill.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi -mattr=+vfp2 -float-abi=hard | grep {fcpys s0, s1} + +define float @f(float %z, double %a, float %b) { + %tmp = call float @g(float %b) + ret float %tmp +} + +declare float @g(float)