From 8f9b551147c928c216de5e693ecc433015ab531a Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 12 Mar 2008 00:07:03 +0000 Subject: Fix attribute handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48262 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/SRETPromotion/2008-03-11-attributes.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/Transforms/SRETPromotion/2008-03-11-attributes.ll (limited to 'test/Transforms') diff --git a/test/Transforms/SRETPromotion/2008-03-11-attributes.ll b/test/Transforms/SRETPromotion/2008-03-11-attributes.ll new file mode 100644 index 0000000..81a1476 --- /dev/null +++ b/test/Transforms/SRETPromotion/2008-03-11-attributes.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | opt -sretpromotion -disable-output + %struct.ObjPoint = type { double, double, double, double, double, double } + +define void @RotatePoint(%struct.ObjPoint* sret %agg.result, %struct.ObjPoint* byval %a, double %rx, double %ry, double %rz) nounwind { +entry: + unreachable +} -- cgit v1.1