summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/PRE.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Initial checkin of PRE on LLVM. This implementation is still lacking inChris Lattner2003-03-311-0/+614
several ways: * Load expressions are not PRE'd well. Alias Analysis should be used to get accurate information when computing anticipatibility. * The expression collection implementation does not handle PHI nodes properly, thus the implementation misses many opportunities to PRE. * This code could be sped up quite a bit Despite these flaws, the code seems to work well, and handles PR's as one would expect. llvm-svn: 5759
OpenPOWER on IntegriCloud