You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like clang directly transforms this implicit (cf clang/lib/CodeGen/CGBuiltin.cpp).
We could try to replace clz(x < 0 ? ~x : x) - 1 (this is how clang expands the builtin) by our instruction in the lowering phase?
This should be a direct match to the
cls
instruction.The text was updated successfully, but these errors were encountered: