diff options
author | Robert Suderman <suderman@google.com> | 2022-05-16 11:08:49 -0700 |
---|---|---|
committer | Rob Suderman <suderman@google.com> | 2022-05-16 11:31:35 -0700 |
commit | cb4a5eae1eb3fb8be8c0cf73aa9b1e6f9279eda6 (patch) | |
tree | 37eb5cbec70e7e22c66a4d8f16ad1eba39cf2167 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 52c615553cd9f774c618ff26507606a1469b40f3 (diff) | |
download | llvm-cb4a5eae1eb3fb8be8c0cf73aa9b1e6f9279eda6.zip llvm-cb4a5eae1eb3fb8be8c0cf73aa9b1e6f9279eda6.tar.gz llvm-cb4a5eae1eb3fb8be8c0cf73aa9b1e6f9279eda6.tar.bz2 |
[mlir][tosa] Use math.ctlz intrinsic for tosa.clz
We were custom counting per bit for the clz instruction. Math dialect
now has an intrinsic to do this in one instruction. Migrated to this
instruction and fixed a minor bug math-to-llvm for the intrinsic.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D125592
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions