mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 00:50:58 +00:00
simplify expression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d6ce062dc
commit
ad577a5c1d
@ -640,7 +640,7 @@ public:
|
||||
/// A DBG_VALUE is indirect iff the first operand is a register and
|
||||
/// the second operand is an immediate.
|
||||
bool isIndirectDebugValue() const {
|
||||
return (getOpcode() == TargetOpcode::DBG_VALUE)
|
||||
return isDebugValue()
|
||||
&& getOperand(0).isReg()
|
||||
&& getOperand(1).isImm();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user