diff options
| author | Mark Seaborn <mseaborn@chromium.org> | 2013-05-24 12:56:47 -0700 |
|---|---|---|
| committer | Mark Seaborn <mseaborn@chromium.org> | 2013-05-24 12:56:47 -0700 |
| commit | de078f629ea70df5987a28390c1d3a0da5c844d5 (patch) | |
| tree | fa512e24a4bb83c618df63f7bcd3d6fdab293802 /lib/Transforms/NaCl/PNaClABISimplify.cpp | |
| parent | c90dfbd2f293eb69e9ba40454e87525a3d4e94c7 (diff) | |
PNaCl: Add pass to expand out Clang-generated umul.with.overflow calls
This adds a pass, ExpandMulWithOverflow, to expand out the
llvm.umul.with.overflow calls that Clang generates to implement an
overflow check for C++'s new[] operator.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3434
TEST=expand-mul-with-overflow.ll
Review URL: https://codereview.chromium.org/14649027
Diffstat (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp')
0 files changed, 0 insertions, 0 deletions
