diff options
Diffstat (limited to 'test/CodeGen/X86/2009-03-05-burr-list-crash.ll')
-rw-r--r-- | test/CodeGen/X86/2009-03-05-burr-list-crash.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2009-03-05-burr-list-crash.ll b/test/CodeGen/X86/2009-03-05-burr-list-crash.ll index 411a0c9..853bb16 100644 --- a/test/CodeGen/X86/2009-03-05-burr-list-crash.ll +++ b/test/CodeGen/X86/2009-03-05-burr-list-crash.ll @@ -15,12 +15,12 @@ define fastcc i8* @1(i8*) nounwind { ; <label>:3 ; preds = %1 %4 = call i64 @strlen(i8* %0) nounwind readonly ; <i64> [#uses=1] %5 = trunc i64 %4 to i32 ; <i32> [#uses=2] - %6 = load i32* @0, align 4 ; <i32> [#uses=1] + %6 = load i32, i32* @0, align 4 ; <i32> [#uses=1] %7 = sub i32 %5, %6 ; <i32> [#uses=2] %8 = sext i32 %5 to i64 ; <i64> [#uses=1] %9 = sext i32 %7 to i64 ; <i64> [#uses=1] %10 = sub i64 %8, %9 ; <i64> [#uses=1] - %11 = getelementptr i8* %0, i64 %10 ; <i8*> [#uses=1] + %11 = getelementptr i8, i8* %0, i64 %10 ; <i8*> [#uses=1] %12 = icmp sgt i32 %7, 0 ; <i1> [#uses=1] br i1 %12, label %13, label %14 |