Avoid Wparentheses warning.

llvm-svn: 322526
This commit is contained in:
Simon Pilgrim 2018-01-15 22:40:06 +00:00
parent 85bd9141ca
commit e5dad1365c
1 changed files with 2 additions and 2 deletions

View File

@ -10157,9 +10157,9 @@ X86InstrInfo::getExecutionDomain(const MachineInstr &MI) const {
uint16_t validDomains = 0;
if (domain) {
// Attempt to match for custom instructions.
if (validDomains = getExecutionDomainCustom(MI)) {
validDomains = getExecutionDomainCustom(MI);
if (validDomains)
return std::make_pair(domain, validDomains);
}
if (lookup(opcode, domain, ReplaceableInstrs)) {
validDomains = 0xe;