diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-06-30 13:03:37 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-06-30 13:03:37 +0000 |
commit | 12ca3d9facecd2972f8f1ea46356cdcf527dfaeb (patch) | |
tree | b04a3b57dea03859fe1bcaac51f9819bf36a5793 | |
parent | f69acfe133e6ab557e91501afe0811e734558aa8 (diff) | |
download | bcm5719-llvm-12ca3d9facecd2972f8f1ea46356cdcf527dfaeb.tar.gz bcm5719-llvm-12ca3d9facecd2972f8f1ea46356cdcf527dfaeb.zip |
use ArgOperand API
llvm-svn: 107280
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 98f03a294c8..f1933349cbe 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -10022,7 +10022,7 @@ static bool LowerToBSwap(CallInst *CI) { // so don't worry about this. // Verify this is a simple bswap. - if (CI->getNumOperands() != 2 || + if (CI->getNumArgOperands() != 1 || CI->getType() != CI->getArgOperand(0)->getType() || !CI->getType()->isIntegerTy()) return false; |