Change xor to ^.
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 1 Feb 2004 08:19:25 +0000 (08:19 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 1 Feb 2004 08:19:25 +0000 (08:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11054 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index f4b2a9b817a88b610ab848d1bafc464b87fbb23f..d89aad0ebde6e58c4431516b03b5f5a2e3d1012e 100644 (file)
@@ -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);