diff options
Diffstat (limited to 'test/CodeGen/X86/2008-11-06-testb.ll')
-rw-r--r-- | test/CodeGen/X86/2008-11-06-testb.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-11-06-testb.ll b/test/CodeGen/X86/2008-11-06-testb.ll index e7caa7a..4ee4b4a 100644 --- a/test/CodeGen/X86/2008-11-06-testb.ll +++ b/test/CodeGen/X86/2008-11-06-testb.ll @@ -9,10 +9,10 @@ target triple = "i386-apple-darwin9.5" define i32 @foo(%struct.x* %p) nounwind { entry: - %0 = getelementptr %struct.x* %p, i32 0, i32 0 ; <i8*> [#uses=1] + %0 = getelementptr %struct.x, %struct.x* %p, i32 0, i32 0 ; <i8*> [#uses=1] store i8 55, i8* %0, align 1 %1 = bitcast %struct.x* %p to i32* ; <i32*> [#uses=1] - %2 = load i32* %1, align 1 ; <i32> [#uses=1] + %2 = load i32, i32* %1, align 1 ; <i32> [#uses=1] %3 = and i32 %2, 512 ; <i32> [#uses=1] %4 = icmp eq i32 %3, 0 ; <i1> [#uses=1] br i1 %4, label %bb5, label %bb |