commit | 968d689ec30a0df63d252b8193664e01944edb8b | [log] [tgz] |
---|---|---|
author | Shuxin Yang <shuxin.llvm@gmail.com> | Fri May 03 19:17:26 2013 +0000 |
committer | Shuxin Yang <shuxin.llvm@gmail.com> | Fri May 03 19:17:26 2013 +0000 |
tree | cd3b7cd4a5bbe76c9aa768b01266bbbc210c5e8b | |
parent | a2b2200ff8684ba23c64b24c0128a78f4b6e3c73 [diff] |
Decompose GVN::processNonLocalLoad() (about 400 LOC) into smaller helper functions. No function change. This function consists of following steps: 1. Collect dependent memory accesses. 2. Analyze availability. 3. Perform fully redundancy elimination, or 4. Perform PRE, depending on the availability Step 2, 3 and 4 are now moved to three helper routines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181047 91177308-0d34-0410-b5e6-96231b3b80d8