| Name |
Last commit
|
Last update |
|---|---|---|
| crosstest | ||
| pydir | ||
| src | ||
| tests_lit | ||
| .gitignore | ||
| LICENSE.TXT | ||
| LOWERING.rst | ||
| Makefile | ||
| OWNERS | ||
| README.rst | ||
| codereview.settings | ||
| llvm2iceinsts.py | ||
| szdiff.py |
This adds infrastructure for low-level x86-32 instructions, and the target lowering patterns. Practically no optimizations are performed. Optimizations to be introduced later include liveness analysis, dead-code elimination, global linear-scan register allocation, linear-scan based stack slot coalescing, and compare/branch fusing. One optimization that is present is simple coalescing of stack slots for variables that are only live within a single basic block. There are also some fairly comprehensive cross tests. This testing infrastructure translates bitcode using both Subzero and llc, and a testing harness calls both versions with a variety of "interesting" inputs and compares the results. Specifically, Arithmetic, Icmp, Fcmp, and Cast instructions are tested this way, across all PNaCl primitive types. BUG= R=jvoung@chromium.org Review URL: https://codereview.chromium.org/265703002
| Name |
Last commit
|
Last update |
|---|---|---|
| crosstest | Loading commit data... | |
| pydir | Loading commit data... | |
| src | Loading commit data... | |
| tests_lit | Loading commit data... | |
| .gitignore | Loading commit data... | |
| LICENSE.TXT | Loading commit data... | |
| LOWERING.rst | Loading commit data... | |
| Makefile | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README.rst | Loading commit data... | |
| codereview.settings | Loading commit data... | |
| llvm2iceinsts.py | Loading commit data... | |
| szdiff.py | Loading commit data... |