diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-03-25 09:48:49 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2013-03-25 09:48:49 +0000 |
commit | 9c383d68cff64209e3a226148eb5f83ccc55f897 (patch) | |
tree | 084fb88ab74b514ea60fcf39aa33417651c86ee2 /lldb/scripts/Python/python-extensions.swig | |
parent | 65c2481d092c5b61a39f4dea8fbe283cf4cba123 (diff) | |
download | llvm-9c383d68cff64209e3a226148eb5f83ccc55f897.zip llvm-9c383d68cff64209e3a226148eb5f83ccc55f897.tar.gz llvm-9c383d68cff64209e3a226148eb5f83ccc55f897.tar.bz2 |
InstCombine: simplify comparisons to zero of (shl %x, Cst) or (mul %x, Cst)
This simplification happens at 2 places :
- using the nsw attribute when the shl / mul is used by a sign test
- when the shl / mul is compared for (in)equality to zero
llvm-svn: 177856
Diffstat (limited to 'lldb/scripts/Python/python-extensions.swig')
0 files changed, 0 insertions, 0 deletions