mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 22:28:22 +00:00
[AVR] Parenthesize a boolean expression
Without the parentheses, clang would emit warnings while compiling the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d87ddcb9f0
commit
900001e180
@ -203,8 +203,8 @@ unsigned AVRDAGToDAGISel::selectIndexedProgMemLoad(const LoadSDNode *LD,
|
||||
bool AVRDAGToDAGISel::SelectInlineAsmMemoryOperand(const SDValue &Op,
|
||||
unsigned ConstraintCode,
|
||||
std::vector<SDValue> &OutOps) {
|
||||
assert(ConstraintCode == InlineAsm::Constraint_m ||
|
||||
ConstraintCode == InlineAsm::Constraint_Q &&
|
||||
assert((ConstraintCode == InlineAsm::Constraint_m ||
|
||||
ConstraintCode == InlineAsm::Constraint_Q) &&
|
||||
"Unexpected asm memory constraint");
|
||||
|
||||
MachineRegisterInfo &RI = MF->getRegInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user