mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
[LVI] Simplify obfuscated code
It doesn't matter why something is overdefined if it is... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2af93f18d5
commit
4825f8a4b9
@ -224,29 +224,15 @@ public:
|
||||
return false;
|
||||
return markOverdefined();
|
||||
}
|
||||
|
||||
if (RHS.isNotConstant()) {
|
||||
if (Val == RHS.Val)
|
||||
return markOverdefined();
|
||||
return markOverdefined();
|
||||
}
|
||||
|
||||
return markOverdefined();
|
||||
}
|
||||
|
||||
if (isNotConstant()) {
|
||||
if (RHS.isConstant()) {
|
||||
if (Val == RHS.Val)
|
||||
return markOverdefined();
|
||||
return markOverdefined();
|
||||
}
|
||||
|
||||
if (RHS.isNotConstant()) {
|
||||
if (Val == RHS.Val)
|
||||
return false;
|
||||
return markOverdefined();
|
||||
}
|
||||
|
||||
return markOverdefined();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user