diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-07-11 22:17:26 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-07-11 22:17:26 +0000 |
| commit | ef08aec9352a4827a2f9c83fffd7844155b1a633 (patch) | |
| tree | 6606b92ae2a6d0bb7b94ee1a5455c0bae711d4c3 /llvm/lib | |
| parent | 752ddbd0684a5173071ed22a7fa289a09e72d020 (diff) | |
| download | bcm5719-llvm-ef08aec9352a4827a2f9c83fffd7844155b1a633.tar.gz bcm5719-llvm-ef08aec9352a4827a2f9c83fffd7844155b1a633.zip | |
[LoopIdiomRecognize] Add a test case showing a loop we turn into ctlz that we shouldn't.
This loop executes one iteration without checking the input value. This produces a count of 1 for an input of 0 and 1. We are turning this into 32 - ctlz(n), but that returns 0 if n is 0.
llvm-svn: 336862
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

