diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2013-03-26 13:49:56 -0700 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2013-03-26 13:49:56 -0700 |
commit | 9c7984ea3134c4f7f425bb2e01a5ee8540829fd9 (patch) | |
tree | d1cb61fe3057ca28c70a51a2f810609c2ded1018 /lib/Analysis/NaCl/PNaClABIVerifyModule.cpp | |
parent | 77fc541fc5b17685047aa296f7669a2ddc2bfd89 (diff) |
PNaCl: Add ExpandGetElementPtr pass for converting GetElementPtr to arithmetic
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
Diffstat (limited to 'lib/Analysis/NaCl/PNaClABIVerifyModule.cpp')
0 files changed, 0 insertions, 0 deletions