aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-10-22 10:38:53 -0700
committerCraig Topper <craig.topper@sifive.com>2021-10-22 11:02:35 -0700
commit93139a3c32660bc29ac91dea616aa2501f37c8cc (patch)
tree8327ed0e45476b5032267391a75b9dd44985aeba /llvm/unittests/Support/ErrorTest.cpp
parentd5074c7166647ea1abd78f5bb7fd876cbf0bb7d1 (diff)
downloadllvm-93139a3c32660bc29ac91dea616aa2501f37c8cc.zip
llvm-93139a3c32660bc29ac91dea616aa2501f37c8cc.tar.gz
llvm-93139a3c32660bc29ac91dea616aa2501f37c8cc.tar.bz2
[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 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions