From 908504347b0565c4d4817af444012be76ba4b76f Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 30 Jan 2007 16:16:01 +0000 Subject: 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 --- test/Feature/paramattrs.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Feature/paramattrs.ll') 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 } -- cgit v1.1