diff options
Diffstat (limited to 'test/Transforms/InstCombine/2007-12-12-GEPScale.ll')
-rw-r--r-- | test/Transforms/InstCombine/2007-12-12-GEPScale.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2007-12-12-GEPScale.ll b/test/Transforms/InstCombine/2007-12-12-GEPScale.ll index cea87f2..60f715e 100644 --- a/test/Transforms/InstCombine/2007-12-12-GEPScale.ll +++ b/test/Transforms/InstCombine/2007-12-12-GEPScale.ll @@ -5,6 +5,6 @@ target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f3 define i8* @foo([100 x {i8,i8,i8}]* %x) { entry: %p = bitcast [100 x {i8,i8,i8}]* %x to i8* - %q = getelementptr i8* %p, i32 -4 + %q = getelementptr i8, i8* %p, i32 -4 ret i8* %q } |