diff options
| author | Craig Topper <craig.topper@sifive.com> | 2021-10-22 10:38:53 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2021-10-22 11:02:35 -0700 |
| commit | 93139a3c32660bc29ac91dea616aa2501f37c8cc (patch) | |
| tree | 8327ed0e45476b5032267391a75b9dd44985aeba /mlir/test/python/lib/PythonTestDialect.cpp | |
| parent | d5074c7166647ea1abd78f5bb7fd876cbf0bb7d1 (diff) | |
[LegalizeTypes] Only expand CTLZ/CTTZ/CTPOP during type promotion if the new type is legal.
We might be promoting a large non-power of 2 type and the new type
may need to be split. Once we split it we may have a ctlz/cttz/ctpop
instruction for the split type.
I'm also concerned that we may create large shifts with shift amounts
that are too small.
Diffstat (limited to 'mlir/test/python/lib/PythonTestDialect.cpp')
0 files changed, 0 insertions, 0 deletions
