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 | 7a5b56aca9925c1a5105d44c58985cf35899263a (patch) | |
tree | 14ec6da741137f7b9d012f5caaa67b0078d6d79c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 0d23076adf131828e8dfa4dbb4157a48f3ac0496 (diff) | |
download | bcm5719-llvm-7a5b56aca9925c1a5105d44c58985cf35899263a.tar.gz bcm5719-llvm-7a5b56aca9925c1a5105d44c58985cf35899263a.zip |
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.
llvm-svn: 89922
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions