diff options
Diffstat (limited to 'test/Transforms/SLPVectorizer/X86/crash_gep.ll')
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/crash_gep.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/SLPVectorizer/X86/crash_gep.ll b/test/Transforms/SLPVectorizer/X86/crash_gep.ll index dd4034c..bd1e8f7 100644 --- a/test/Transforms/SLPVectorizer/X86/crash_gep.ll +++ b/test/Transforms/SLPVectorizer/X86/crash_gep.ll @@ -8,10 +8,10 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define i32 @fn1() { entry: - %0 = load i64** @a, align 8 - %add.ptr = getelementptr inbounds i64* %0, i64 1 + %0 = load i64*, i64** @a, align 8 + %add.ptr = getelementptr inbounds i64, i64* %0, i64 1 %1 = ptrtoint i64* %add.ptr to i64 - %arrayidx = getelementptr inbounds i64* %0, i64 2 + %arrayidx = getelementptr inbounds i64, i64* %0, i64 2 store i64 %1, i64* %arrayidx, align 8 %2 = ptrtoint i64* %arrayidx to i64 store i64 %2, i64* %add.ptr, align 8 |