mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 18:35:45 +00:00
Due to label merging, the last label for an invoke
may be the same as the first label for the following invoke. Remove a micro-optimization which was wrong in this case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e9685143f4
commit
9886504384
@ -3098,10 +3098,9 @@ private:
|
||||
|
||||
unsigned BeginLabel = MI->getOperand(0).getImmedValue();
|
||||
assert(BeginLabel && "Invalid label!");
|
||||
if (BeginLabel == LastLabel) {
|
||||
|
||||
if (BeginLabel == LastLabel)
|
||||
MayThrow = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
RangeMapType::iterator L = PadMap.find(BeginLabel);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user