mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[TypePromotion] Remove redundant if. NFC
The same condition was checked in the previous if. Maybe this was a bad merge resolution?
This commit is contained in:
parent
800de3f8d5
commit
837c44ce91
@ -920,9 +920,6 @@ bool TypePromotion::TryToPromote(Value *V, unsigned PromotedWidth) {
|
||||
if (ToPromote < 2 || (Blocks.size() == 1 && (NonFreeArgs > SafeWrap.size())))
|
||||
return false;
|
||||
|
||||
if (ToPromote < 2)
|
||||
return false;
|
||||
|
||||
IRPromoter Promoter(*Ctx, cast<IntegerType>(OrigTy), PromotedWidth,
|
||||
CurrentVisited, Sources, Sinks, SafeWrap);
|
||||
Promoter.Mutate();
|
||||
|
Loading…
Reference in New Issue
Block a user