Adds the python script run-llvm2ice.py (was llvm2iceinsts.py) that automatically handles conversion of LLVM source to a PEXE file, and then runs llvm2ice on the corresponding PEXE file. Also, defines three paths in tests, based on the executable chosen: %lc2i - Directly reads from LLVM source, and converts to Subzero. %l2i - Parses a PEXE file into LLVM IR, and converts to Subzero. %p2i - Parses a PEXE directly into Subzero. Note that for all three executables, the same arguments can be used, making it easy to change how the input is handled. Also moves tests to use %p2i whenever possible. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3892 R=jvoung@chromium.org Review URL: https://codereview.chromium.org/600043002
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| alloca.ll | Loading commit data... | |
| binops.ll | Loading commit data... | |
| branch.ll | Loading commit data... | |
| call-indirect.ll | Loading commit data... | |
| call.ll | Loading commit data... | |
| casts.ll | Loading commit data... | |
| compare.ll | Loading commit data... | |
| constants.ll | Loading commit data... | |
| forwardref.ll | Loading commit data... | |
| globalinit.pnacl.ll | Loading commit data... | |
| insertextract.ll | Loading commit data... | |
| load.ll | Loading commit data... | |
| nacl-atomic-intrinsics.ll | Loading commit data... | |
| nacl-fake-intrinsic.ll | Loading commit data... | |
| nacl-other-intrinsics.ll | Loading commit data... | |
| phi.ll | Loading commit data... | |
| select.ll | Loading commit data... | |
| store.ll | Loading commit data... | |
| switch.ll | Loading commit data... | |
| unnamed.ll | Loading commit data... | |
| unreachable.ll | Loading commit data... |