aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-12 00:07:03 +0000
committerDevang Patel <dpatel@apple.com>2008-03-12 00:07:03 +0000
commit8f9b551147c928c216de5e693ecc433015ab531a (patch)
tree8c1f6b72366f2ea37f2444206ae00465b736cfe7 /test/Transforms
parent4191b96f41b83d32ee7aa761c0d466622dac9c01 (diff)
downloadexternal_llvm-8f9b551147c928c216de5e693ecc433015ab531a.zip
external_llvm-8f9b551147c928c216de5e693ecc433015ab531a.tar.gz
external_llvm-8f9b551147c928c216de5e693ecc433015ab531a.tar.bz2
Fix attribute handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/SRETPromotion/2008-03-11-attributes.ll7
1 files changed, 7 insertions, 0 deletions
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
+}