summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-05-22 03:56:46 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-05-22 03:56:46 +0000
commit15032581573db3c995ad53600cf6bcc6f6eb4ee0 (patch)
treec473f8bc37cc0be258e00fdcf80935173f1987c1 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
parent5189559905af399b60d1d30ef19fdcfa0d1c201b (diff)
downloadbcm5719-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 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud