diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp index f4b2a9b817a..d89aad0ebde 100644 --- a/llvm/lib/CodeGen/LiveIntervals.cpp +++ b/llvm/lib/CodeGen/LiveIntervals.cpp @@ -390,7 +390,7 @@ void LiveIntervals::joinIntervals() ++numJoined; } } - else if (MRegisterInfo::isPhysicalRegister(intA->reg) xor + else if (MRegisterInfo::isPhysicalRegister(intA->reg) ^ MRegisterInfo::isPhysicalRegister(intB->reg)) { if (MRegisterInfo::isPhysicalRegister(intB->reg)) { std::swap(regA, regB); |