mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182680 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -84,7 +84,7 @@ def msksize_xform : SDNodeXForm<imm, [{
|
||||
// Transformation function: get the size of a mask
|
||||
assert(isMask_32(N->getZExtValue()));
|
||||
// look for the first non-zero bit
|
||||
return getI32Imm(32 - CountLeadingZeros_32(N->getZExtValue()));
|
||||
return getI32Imm(32 - countLeadingZeros(N->getZExtValue()));
|
||||
}]>;
|
||||
|
||||
def neg_xform : SDNodeXForm<imm, [{
|
||||
|
Reference in New Issue
Block a user