diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-25 07:47:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-25 07:47:25 +0000 |
commit | c25b55a5b237772bbd7cc55988d3ca0ec569aede (patch) | |
tree | ae4a7771178eb34141b80385350a8d700683d368 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | d67e4392412232a9aa5bf7560c0b0e624a842b65 (diff) |
Fix the sense of joinable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 361210e106..ed90fca3df 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -577,7 +577,7 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) { IntA.containsOneValue() && IntB.containsOneValue(); unsigned MIDefIdx = getDefIndex(getInstructionIndex(mi)); - if ((TriviallyJoinable || !IntB.joinable(IntA, MIDefIdx)) && + if ((TriviallyJoinable || IntB.joinable(IntA, MIDefIdx)) && !overlapsAliases(&IntA, &IntB)) { IntB.join(IntA, MIDefIdx); |