diff --git a/test/Regression/Transforms/InstCombine/load.ll b/test/Regression/Transforms/InstCombine/load.ll index b46b4b4a19b..3c8a693dc78 100644 --- a/test/Regression/Transforms/InstCombine/load.ll +++ b/test/Regression/Transforms/InstCombine/load.ll @@ -54,3 +54,8 @@ cond_continue.i: ret int %tmp.3 } +int %test7(int %X) { + %V = getelementptr int* null, int %X + %R = load int* %V + ret int %R +}