projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use ArgOperand API
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86ISelLowering.cpp
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 98f03a294c86fab344b52ce353b5dcd8866724e4..f1933349cbeab9100902cdd6904ba3fef77d771a 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
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->getNum
Operands() != 2
||
+ if (CI->getNum
ArgOperands() != 1
||
CI->getType() != CI->getArgOperand(0)->getType() ||
!CI->getType()->isIntegerTy())
return false;