Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-03 | PNaCl gep expansion: avoid mul by 1 for i8 arrays. | Jan Voung | |
Makes the bitcode a tiny bit smaller, and avoids generating shift left by 0 code under fast-isel. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3343 TEST=*.ll tests R=mseaborn@chromium.org Review URL: https://codereview.chromium.org/15861029 | |||
2013-03-26 | PNaCl: Add ExpandGetElementPtr pass for converting GetElementPtr to arithmetic | Mark Seaborn | |
This is similar to the GEP handling in visitGetElementPtr() in lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp. Once this pass is enabled, it will simplify the language to reduce the set of constructs that a PNaCl translator needs to handle as part of a stable wire format for PNaCl. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3343 TEST=test/Transforms/NaCl/expand-getelementptr.ll Review URL: https://codereview.chromium.org/12849009 |