diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-26 02:17:34 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-26 02:17:34 +0000 |
| commit | 8200930b6b24a8625e2a49b84e6df1e293c107ca (patch) | |
| tree | 7edf0cb4d4bdebdf3344746df69fa97f826f3362 /lib/CompilerDriver | |
| parent | 01526336b664739e81f2e14d8a6792dee2e2f619 (diff) | |
| download | external_llvm-8200930b6b24a8625e2a49b84e6df1e293c107ca.zip external_llvm-8200930b6b24a8625e2a49b84e6df1e293c107ca.tar.gz external_llvm-8200930b6b24a8625e2a49b84e6df1e293c107ca.tar.bz2 | |
Change the other half of aliasGEP (which handles GEP differencing) to use DecomposeGEPExpression. This dramatically simplifies and shrinks the code by eliminating the horrible CheckGEPInstructions method, fixes a miscompilation (@test3) and makes the code more aggressive. In particular, we now handle the @test4 case, which is reduced from the SmallPtrSet constructor. Missing this caused us to emit a variable length memset instead of a fixed size one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver')
0 files changed, 0 insertions, 0 deletions
