projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3d6ce06
)
simplify expression
author
Adrian Prantl
<aprantl@apple.com>
Tue, 17 Sep 2013 00:15:33 +0000
(
00:15
+0000)
committer
Adrian Prantl
<aprantl@apple.com>
Tue, 17 Sep 2013 00:15:33 +0000
(
00:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190826
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstr.h
b/include/llvm/CodeGen/MachineInstr.h
index c67c729b77e96e48618ecb83819c8dded3bbbb29..e1349a6df83bc87bae5aeec4d464ae46d5dee116 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstr.h
+++ b/
include/llvm/CodeGen/MachineInstr.h
@@
-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();
}