aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/paramattrs.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-30 16:16:01 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-30 16:16:01 +0000
commit908504347b0565c4d4817af444012be76ba4b76f (patch)
tree443cd5fa4f0eacde4cdb1601d18cd9eb5526ea43 /test/Feature/paramattrs.ll
parent82d5ee5653fdbd9bdcd75f8509429a0d72c80fa8 (diff)
downloadexternal_llvm-908504347b0565c4d4817af444012be76ba4b76f.zip
external_llvm-908504347b0565c4d4817af444012be76ba4b76f.tar.gz
external_llvm-908504347b0565c4d4817af444012be76ba4b76f.tar.bz2
For PR411:
Update these tests to not use the same name even though the type of the value differs. After PR411 hits, type planes will be gone and it will be illegal for a name to be used twice, regardless of type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/paramattrs.ll')
-rw-r--r--test/Feature/paramattrs.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/paramattrs.ll b/test/Feature/paramattrs.ll
index 329b875..0926f13 100644
--- a/test/Feature/paramattrs.ll
+++ b/test/Feature/paramattrs.ll
@@ -12,9 +12,9 @@ implementation
define i32 @main(i32 %argc, i8 **%argv) {
%val = trunc i32 %argc to i16
- %res = call i16 (i16 sext) sext *@test(i16 %val)
- %two = add i16 %res, %res
- %res = call i8 @test2(i16 %two zext) zext
+ %res1 = call i16 (i16 sext) sext *@test(i16 %val)
+ %two = add i16 %res1, %res1
+ %res2 = call i8 @test2(i16 %two zext) zext
%retVal = sext i16 %two to i32
ret i32 %retVal
}