aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/ConstProp/div-zero.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ConstProp/div-zero.ll')
-rw-r--r--test/Transforms/ConstProp/div-zero.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/ConstProp/div-zero.ll b/test/Transforms/ConstProp/div-zero.ll
index a2c59d3..f4049a9 100644
--- a/test/Transforms/ConstProp/div-zero.ll
+++ b/test/Transforms/ConstProp/div-zero.ll
@@ -5,7 +5,7 @@ declare void @ext()
define i32 @foo(i32 %ptr) {
entry:
%zero = sub i32 %ptr, %ptr ; <i32> [#uses=1]
- %div_zero = sdiv i32 %zero, ptrtoint (i32* getelementptr (i32* null,
+ %div_zero = sdiv i32 %zero, ptrtoint (i32* getelementptr (i32, i32* null,
i32 1) to i32) ; <i32> [#uses=1]
ret i32 %div_zero
}