diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2017-03-31 20:28:06 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2017-03-31 20:28:06 +0000 |
| commit | 34da36e74f1f5ab5874f825074f04ecde2be50f4 (patch) | |
| tree | 8c4751ea510ea14259cb7de6efa6269a08d606b1 /llvm/lib/IR/ModuleSummaryIndex.cpp | |
| parent | 4c08fe284125d6505008239c39b3847d5818ff40 (diff) | |
| download | bcm5719-llvm-34da36e74f1f5ab5874f825074f04ecde2be50f4.tar.gz bcm5719-llvm-34da36e74f1f5ab5874f825074f04ecde2be50f4.zip | |
[DAGCombiner] add fold for 'All sign bits set?'
(and (setlt X, 0), (setlt Y, 0)) --> (setlt (and X, Y), 0)
We have 7 similar folds, but this one got away. The fact that the
x86 test with a branch didn't change is probably a separate bug. We
may also be missing this and the related folds in instcombine.
llvm-svn: 299252
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions

