aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-05-14-Crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2007-05-14-Crash.ll')
-rw-r--r--test/Transforms/InstCombine/2007-05-14-Crash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2007-05-14-Crash.ll b/test/Transforms/InstCombine/2007-05-14-Crash.ll
index a3c010d..a3d2165 100644
--- a/test/Transforms/InstCombine/2007-05-14-Crash.ll
+++ b/test/Transforms/InstCombine/2007-05-14-Crash.ll
@@ -10,7 +10,7 @@ target triple = "powerpc-apple-darwin8.8.0"
define i8* @foo(%struct.anon* %deviceRef, %struct.abc* %pCap) {
entry:
%tmp1 = bitcast %struct.anon* %deviceRef to %struct.def*
- %tmp3 = getelementptr %struct.def* %tmp1, i32 0, i32 1
+ %tmp3 = getelementptr %struct.def, %struct.def* %tmp1, i32 0, i32 1
%tmp35 = bitcast %struct.abc* %tmp3 to i8*
ret i8* %tmp35
}