diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-05-22 03:56:46 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-05-22 03:56:46 +0000 |
| commit | 15032581573db3c995ad53600cf6bcc6f6eb4ee0 (patch) | |
| tree | c473f8bc37cc0be258e00fdcf80935173f1987c1 /clang/lib/Basic/Builtins.cpp | |
| parent | 5189559905af399b60d1d30ef19fdcfa0d1c201b (diff) | |
| download | bcm5719-llvm-15032581573db3c995ad53600cf6bcc6f6eb4ee0.tar.gz bcm5719-llvm-15032581573db3c995ad53600cf6bcc6f6eb4ee0.zip | |
[InstSimplify] Handle some overflow intrinsics in InstSimplify
This change does a few things:
- Move some InstCombine transforms to InstSimplify
- Run SimplifyCall from within InstCombine::visitCallInst
- Teach InstSimplify to fold [us]mul_with_overflow(X, undef) to 0.
llvm-svn: 237995
Diffstat (limited to 'clang/lib/Basic/Builtins.cpp')
0 files changed, 0 insertions, 0 deletions

