mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 15:11:39 +00:00
Fix silly bug in implementation of getUseType(). Thanks Misha.
llvm-svn: 11711
This commit is contained in:
parent
ade64c9839
commit
abc8efe386
@ -200,7 +200,7 @@ public:
|
||||
/// getUseType - Returns the MachineOperandUseType of this operand.
|
||||
///
|
||||
MOTy::UseType getUseType() const {
|
||||
return isUse() ^ isDef() ? MOTy::UseAndDef :
|
||||
return isUse() & isDef() ? MOTy::UseAndDef :
|
||||
(isUse() ? MOTy::Use : MOTy::Def);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user