[all-commits] [llvm/llvm-project] 3eab6c: [InstCombine] Add test for GEP difference with bit...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue May 24 07:12:17 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3eab6c5911415ce1f9b72738025f8f5051b55c34
https://github.com/llvm/llvm-project/commit/3eab6c5911415ce1f9b72738025f8f5051b55c34
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-05-24 (Tue, 24 May 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/sub-gep.ll
Log Message:
-----------
[InstCombine] Add test for GEP difference with bitcasts (NFC)
Commit: e6e0eb3bc89d054889c1c663ccf600581ed77c7e
https://github.com/llvm/llvm-project/commit/e6e0eb3bc89d054889c1c663ccf600581ed77c7e
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-05-24 (Tue, 24 May 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/sub-gep.ll
Log Message:
-----------
[InstCombine] Strip bitcasts in GEP diff fold
Bitcasts were stripped in one case, but not the other. Of course,
this no longer really matters with opaque pointers, but as I went
through the trouble of tracking this down, we may as well remove
one typed vs opaque pointer optimization discrepancy.
Compare: https://github.com/llvm/llvm-project/compare/a9a6e200125e...e6e0eb3bc89d
More information about the All-commits
mailing list