diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 21:22:52 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-10 21:23:04 +0000 |
commit | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll | |
parent | c75239e6119d0f9a74c57099d91cbc9bde56bf33 (diff) | |
parent | 4c5e43da7792f75567b693105cc53e3f1992ad98 (diff) | |
download | external_llvm-31195f0bdca6ee2a5e72d07edf13e1d81206d949.zip external_llvm-31195f0bdca6ee2a5e72d07edf13e1d81206d949.tar.gz external_llvm-31195f0bdca6ee2a5e72d07edf13e1d81206d949.tar.bz2 |
Merge "Update aosp/master llvm for rebase to r233350"
Diffstat (limited to 'test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll')
-rw-r--r-- | test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll b/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll index 132966e..8e4a023 100644 --- a/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll +++ b/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll @@ -17,20 +17,20 @@ define i32 @foo() nounwind { call void @bar(%struct1* sret %x) nounwind ; CHECK: call void @bar(%struct1* sret %x) - %gepn1 = getelementptr inbounds %struct2* %y, i32 0, i32 0, i32 0 + %gepn1 = getelementptr inbounds %struct2, %struct2* %y, i32 0, i32 0, i32 0 store i32 0, i32* %gepn1, align 8 - %gepn2 = getelementptr inbounds %struct2* %y, i32 0, i32 0, i32 1 + %gepn2 = getelementptr inbounds %struct2, %struct2* %y, i32 0, i32 0, i32 1 store i32 0, i32* %gepn2, align 4 %bit1 = bitcast %struct1* %x to i64* %bit2 = bitcast %struct2* %y to i64* - %load = load i64* %bit1, align 8 + %load = load i64, i64* %bit1, align 8 store i64 %load, i64* %bit2, align 8 -; CHECK: %load = load i64* %bit1, align 8 +; CHECK: %load = load i64, i64* %bit1, align 8 ; CHECK: store i64 %load, i64* %bit2, align 8 - %gep1 = getelementptr %struct2* %y, i32 0, i32 0, i32 0 - %ret = load i32* %gep1 + %gep1 = getelementptr %struct2, %struct2* %y, i32 0, i32 0, i32 0 + %ret = load i32, i32* %gep1 ret i32 %ret } |