diff options
Diffstat (limited to 'test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll')
-rw-r--r-- | test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll b/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll index fb7497b..c438ca5 100644 --- a/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll +++ b/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll @@ -6,9 +6,9 @@ define i8* @demangle_qualified(i32 %isfuncname) nounwind { entry: %tobool272 = icmp ne i32 %isfuncname, 0 - %cond276 = select i1 %tobool272, i8* getelementptr inbounds ([2 x i8]* @.str254, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8]* @.str557, i32 0, i32 0) ; <i8*> [#uses=4] + %cond276 = select i1 %tobool272, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str254, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str557, i32 0, i32 0) ; <i8*> [#uses=4] %cmp.i504 = icmp eq i8* %cond276, null - %rval = getelementptr i8* %cond276, i1 %cmp.i504 + %rval = getelementptr i8, i8* %cond276, i1 %cmp.i504 ret i8* %rval } |