diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-05-24 22:23:49 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-05-24 22:23:49 +0000 |
commit | c6af2432c802d241c8fffbe0371c023e6c58844e (patch) | |
tree | 98918e0d95a674aa47cd70cefd9bb5b9daed7b48 /lib/Target/XCore/XCoreInstrInfo.td | |
parent | 54c74823885eade8173965f8bb99f026aacb9657 (diff) | |
download | llvm-c6af2432c802d241c8fffbe0371c023e6c58844e.tar.gz llvm-c6af2432c802d241c8fffbe0371c023e6c58844e.tar.bz2 llvm-c6af2432c802d241c8fffbe0371c023e6c58844e.tar.xz |
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
Diffstat (limited to 'lib/Target/XCore/XCoreInstrInfo.td')
-rw-r--r-- | lib/Target/XCore/XCoreInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.td b/lib/Target/XCore/XCoreInstrInfo.td index 587166c1ce..e06419ac18 100644 --- a/lib/Target/XCore/XCoreInstrInfo.td +++ b/lib/Target/XCore/XCoreInstrInfo.td @@ -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, [{ |