diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-24 00:55:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-24 00:55:55 +0000 |
commit | fd6325cbb23935a9c05b96e9bbfa978565029f2a (patch) | |
tree | 1c5251545fcb9d18071de9f39464245ca42fd248 | |
parent | 6bbcba18db6d1f4bc0f0157df41cc02627bc4aa9 (diff) | |
download | external_llvm-fd6325cbb23935a9c05b96e9bbfa978565029f2a.zip external_llvm-fd6325cbb23935a9c05b96e9bbfa978565029f2a.tar.gz external_llvm-fd6325cbb23935a9c05b96e9bbfa978565029f2a.tar.bz2 |
Revert this accidental commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74042 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 704d387..78d3224 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -644,7 +644,7 @@ ARMAsmPrinter::printBitfieldInvMaskImmOperand(const MachineInstr *MI, int Op) { const MachineOperand &MO = MI->getOperand(Op); uint32_t v = ~MO.getImm(); int32_t lsb = ffs (v) - 1; - int32_t width = ffs (v) - lsb; + int32_t width = fls (v) - lsb; assert(MO.isImm() && "Not a valid bf_inv_mask_imm value!"); O << "#" << lsb << ", #" << width; } |